Question

For Loop using in an array to find the value one by one

Hi Sir, I have an array e.g. A=[19 12 87 34 54] and i have to use the array value one by one to find the F value e.g.F=0.4*20+A...

10 months ago | 1 answer | 0

Question

Over-all sum value in fmincon for multiple x

Sir, i just want to know that how to write the over all sum <= 1-beta in the constraints? e.g. if value of beta =0.4, and i ...

11 months ago | 1 answer | 0

Question

how to write series of multiple non-linear constraints for optimization using fmincon in MATLAB?

Hi, I have serios of multiple non-linear constraints and i am stuck how to write them in MATLAB, please help me out how to writ...

11 months ago | 1 answer | 0

Question

Non-linear Optimization problem to maximize the sum-rate using fmincon

Hi, kindly review my problem and suggest me a solution for it, i have been trying to solve this problem for 2weeks but am not ab...

1 year ago | 0 answers | 0

Question

Nonlinear optimization using fmincon: how to find optimal point for x vector

Hi, I am trying to solve maximization problem in which i have to find optimal value for phi and phi is a not single valued, it ...

1 year ago | 0 answers | 0

Answered

How to execute multiple optimized values for x according to n, using fmincon

just let me know if i have to find n optimal values for x then how could i find?

How to execute multiple optimized values for x according to n, using fmincon

just let me know if i have to find n optimal values for x then how could i find?

1 year ago | 0

Answered

How to execute multiple optimized values for x according to n, using fmincon

can i also change uper and lower bounds accordingly?

How to execute multiple optimized values for x according to n, using fmincon

can i also change uper and lower bounds accordingly?

1 year ago | 0

Question

How to execute multiple optimized values for x according to n, using fmincon

Hello, kindly help me in finding n optimal values for x (x is a vector not single valued). e.g. i have the main code function ...

1 year ago | 3 answers | 0

Question

Optimzation problem of vector using fmincon

Hi Sir, i am trying to solve optimization problem in fmincon and i have to find n optimal values, e.g. if i have n=4 so i want 4...

1 year ago | 0 answers | 0

Question

How can i find the sorted indexing of the array

Hi, Sir how can i find the sorted indexing of the array when i am sorting it in the same code?? A = [2 9 6 5 8] swapped = 1...

1 year ago | 1 answer | 0

Question

Function must have negative value?

Hi, I am confused just clear me if I am wrong, why we need the negative value of the problem after taking second derivative to p...

1 year ago | 0 answers | 0

Question

Adding Value in the array with proper indexing

Hi, here i have an array with random values, i have sort them and divide them in maximum and minimum values, after sorting the a...

1 year ago | 2 answers | 0

Question

How to assign multiple variables to an array

Hi Sir, i want to assign variables automatically to the valaues in an array how shall i do it? TN=4; PT=17*1000; del=0.6...

1 year ago | 1 answer | 0

Question

Didnot get the value after executing

Hi Sir,after running this code ,MATLAB didnot display the Rhn answer and typing Rhn in the command window i get undefined variab...

1 year ago | 1 answer | 0

Question

Problem in running my code

Hi Sir, kindly tell me where i am doing wrong?? TN=4; n_vec=1:TN; n=n_vec; max=[0.32 0.51 0.112 1.3]; B=0.3; Psi=0.6; No...

1 year ago | 2 answers | 0

Question

Generating random numbers using for loop

Hi, Shall i use the following code to generate random numbers and use them further in the calculation? clear all close all f...

1 year ago | 2 answers | 0

Question

how to get the half max numbers after sorting in descending order

Hi, suppose i have a vector E containing values = [90 12 43 20 78 51 32 55], i use sort command to sort them in decending order,...

1 year ago | 1 answer | 0

Question

Calculating throughput for users for 10000 times

Hi,i want to find the throughput of N users which are from 1 to 20,I defined it in a vector beacuse i want to run 10000 times fo...

1 year ago | 1 answer | 0

Question

Facing issues in interior point method for optimization

I am facing issue regarding the optimization problem, I have to optimize the objective function Rsum by maximizing it with respe...

2 years ago | 0 answers | 0