writing an objective function (intlinprog)
Hi, I am supposed to write minimize P where P>=0.
Thus, I created a variable P and declared it to be >=0.
Using intlinprog fu...
7 years 前 | 0 个回答 | 0
0
个回答
提问
Creating a diagonal matrix
I will like to create such diagonal matrix.
A=[1 1 1 0 0 0;
0 1 1 1 0 0;
0 0 1 1 1 0;
0 0 0 1 1 1]
Appreciate your...
7 years 前 | 4 个回答 | 0
4
个回答
提问
Minimize an objective function
Hi, I will like to ask for the objective function is there any other way to write instead of typing all the variables (X11 to X1...
Combining matrix of different dimension.
I have three matrix. Matrix 1 = [2 2; 0 0],Matrix 2 =[1 1;0 0] and Matrix 3=[2 2 2 2 ;3 3 3 3] . I will like to combine these 3 ...