photo

Taner Cokyasar


Attivo dal 2016

Followers: 0   Following: 0

Statistica

  • Thankful Level 3

Visualizza badge

Feeds

Visto da

Domanda


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 ...

oltre 7 anni fa | 1 risposta | 0

1

risposta

Domanda


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. ...

circa 8 anni fa | 0 risposte | 0

0

risposte

Domanda


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...

circa 8 anni fa | 1 risposta | 0

1

risposta

Risposto
intlinprog matrix creation help needed
Answer by Stephen Cobeldick 28 minutes ago Edited by Stephen Cobeldick 27 minutes ago Accepted answer Just use sub2ind: ...

circa 8 anni fa | 0

| accettato

Domanda


intlinprog matrix creation help needed
Hello, I have the following sample vector named Zvalues: Variable Name(Zim) Zvalues Z11 0 Z12...

circa 8 anni fa | 1 risposta | 0

1

risposta

Domanda


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 ...

circa 8 anni fa | 2 risposte | 0

2

risposte

Domanda


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'...

circa 8 anni fa | 2 risposte | 0

2

risposte

Domanda


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 ...

circa 8 anni fa | 1 risposta | 0

1

risposta

Domanda


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 ...

circa 8 anni fa | 1 risposta | 0

1

risposta

Domanda


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...

circa 8 anni fa | 1 risposta | 0

1

risposta

Domanda


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,...

circa 8 anni fa | 1 risposta | 0

1

risposta

Domanda


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 ...

circa 8 anni fa | 1 risposta | 0

1

risposta

Domanda


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 ...

circa 8 anni fa | 1 risposta | 0

1

risposta

Domanda


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/...

circa 8 anni fa | 1 risposta | 0

1

risposta