photo

Doobie


Active since 2017

Followers: 0   Following: 0

Message

Statistics

  • Thankful Level 1

View badges

Feeds

View by

Question


Permutation of an array
Is there a built-in matlab function that gives a certain number of permutations of an array? For example: Take array: ...

7 years ago | 2 answers | 0

2

answers

Question


numbers in random positions on a zero matrix
I want to generate a random matrix (let's say a 5x4 matrix) with the following properties: * There must be one 3, two 2s, ni...

7 years ago | 2 answers | 0

2

answers

Question


Randomly change the location of 1s on a matrix of 0s (randperm on a matrix}
How does one generate a random matrix that satisfies certain properties? Specifically, I'm looking for a code that does this: ...

7 years ago | 2 answers | 0

2

answers

Question


How to generate specific number of specific integers within a range?
I want to generate a random array of 8 integers within [1,4] where each integer appears exactly twice. Examples: 1 1 2 2 3 ...

7 years ago | 1 answer | 0

1

answer

Question


How to operate cplex on matlab?
I'm trying to run cplex on matlab but I'm getting the following error: Error using cplexlp (line 256) Invalid MEX-file '...

7 years ago | 1 answer | 0

1

answer