Gratitude Kim
2017년부터 활동
Followers: 0 Following: 0
Feeds
질문
How to read an intlinprog output
LP: Optimal objective value is 15.640000. Cut Generation: Appli...
6년 초과 전 | 답변 수: 0 | 0
0
답변질문
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년 전 | 답변 수: 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년 전 | 답변 수: 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...
거의 7년 전 | 답변 수: 0 | 0
0
답변질문
Creating variables consisting of many elements
I want to create a variable consisting of X1 to X10 . Is there an easy way instead of typing X1 to X10? V1={'X1','X2','X3','X...
거의 7년 전 | 답변 수: 3 | 0
3
답변질문
Creating a diagonal matrix
Hi, I have written such codes. Col=4; Row=3 A1=zeros(Row,Col); n = size(A1,1); A1([1:n+1:end,n+1:n+1:end]) = 1 ...
거의 7년 전 | 답변 수: 2 | 0
2
답변질문
Combining 2 matrix of different row numbers but same column numbers.
A = [1 0 0 0 1 0 0 0; 0 1 0 0 0 1 0 0; 0 0 1 0 0 0 1 0; 0 0 0 1 0 0 0 1] B = [1 1 0 0 0 0 0 0 -2 0 0; 0 1 1 0 0 0 0 0 0 -2 ...
거의 7년 전 | 답변 수: 2 | 0
2
답변질문
Repeating elements in a matrix.
A=zeros(3,4) A = 0 0 0 0 0 0 0 0 0 0 0 0 >> [nRows,nCols] = size(A...
거의 7년 전 | 답변 수: 1 | 0
1
답변질문
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 ...
거의 7년 전 | 답변 수: 2 | 0