Taner Cokyasar
自 2016 起处于活动状态
Followers: 0 Following: 0
Feeds
提问
Creating a Matrix including ones on diagonal
How can I create a matrix with the most shortcut way such as: 1 1 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 ...
8 years 前 | 1 个回答 | 0
1
个回答提问
Conditional constraint matrix creation for intlinprog use
I know, this question is a little bit complicated and may even be hard to tell in here. However, I really need this to be done. ...
8 years 前 | 0 个回答 | 0
0
个回答提问
How to create such a matrix like this?
Hello, I need to create a matrix as following: Number of the rows depend on 'i', where i=3 and number of columns depend on...
8 years 前 | 1 个回答 | 0
1
个回答已回答
intlinprog matrix creation help needed
Answer by Stephen Cobeldick 28 minutes ago Edited by Stephen Cobeldick 27 minutes ago Accepted answer Just use sub2ind: ...
intlinprog matrix creation help needed
Answer by Stephen Cobeldick 28 minutes ago Edited by Stephen Cobeldick 27 minutes ago Accepted answer Just use sub2ind: ...
8 years 前 | 0
| 已接受
提问
intlinprog matrix creation help needed
Hello, I have the following sample vector named Zvalues: Variable Name(Zim) Zvalues Z11 0 Z12...
8 years 前 | 1 个回答 | 0
1
个回答提问
Need help to create a matrix for the use of intlinprog!
Hello, I am a beginner. I have the following sample vector named Zvalues: Variable Name Zvalues Z11 ...
8 years 前 | 2 个回答 | 0
2
个回答提问
How do I make the element zero, if its adjacent column element is zero?
Hello, Assume, I have the following 9x2 matrix. When there is a zero in the second column, I want to make the first column'...
8 years 前 | 2 个回答 | 0
2
个回答提问
Need Help for creating constraint with If conditions
I have 'Z(im)', 't(m)', and f(i) vectors as following (left side is parameter indices=Zim): im Zim t(m) f(i) 11 ...
8 years 前 | 1 个回答 | 0
1
个回答提问
How to use fprintf in the following situation?
Hello, I have following vectors tmvalues and Zimfi. I am finding Yvalues vector by using those two and finding the following ...
8 years 前 | 1 个回答 | 0
1
个回答提问
A very simple question about a column vector creation
I am an extra beginner MATLAB user. There is a 1:m command to create a 1 2 .... m row matrix. However, I couldn't find how to cr...
8 years 前 | 1 个回答 | 0
1
个回答提问
Displaying Specific Rows with Non-zero values
I created the following code to create variable names for my solution (Zvalues) to an MILP problem. (Zvalues are binary) [Z1,...
8 years 前 | 1 个回答 | 0
1
个回答提问
How to separate a vector into sub-vectors?
Assume, I have the following vector Zs (9x1): 0 0 1 0 1 0 0 1 0 I want to create sub-vectors such ...
8 years 前 | 1 个回答 | 0
1
个回答提问
Using "for" to create loops
I am trying to create a loop to have a (ixm)x2 matrix such as: 1 1 1 2 1 3 2 1 2 2 2 3 3 1 3 2 3 3 ...
8 years 前 | 1 个回答 | 0
1
个回答提问
How can I condense this into one linear constraint?
| | | |How can I condense these 2 constraints in the attached image into one linear constraint?|||| <</matlabcentral/answers/...
8 years 前 | 1 个回答 | 0