photo

meh alipoo


Active since 2016

Followers: 0   Following: 0

Statistics

  • Thankful Level 3

View badges

Feeds

View by

Question


random vector containing zero and values
I have an problem: I have a vector A with size N; I want to fill it up with a random vector with values from [1 randi(N)] while...

mer än 8 år ago | 2 answers | 0

2

answers

Question


how to use unique command for the structured array
How do I use unique command for a structured array and do the that only based on data of one part of that array. for example: ...

mer än 8 år ago | 1 answer | 0

1

answer

Question


put data in the evalin(symengine,'Graph::minCost',...) function which is calculating the minimum cost flow of network
I am trying to use the function "Graph::minCost" of "MuPAD notebooks" from Matlab using the following function: y = evalin(...

mer än 8 år ago | 0 answers | 0

0

answers

Question


change the data location
If A matrix is just like the following, how can I rearrange it to get B without any loop? A=[1,2,3,4,5,6,7,8,9,10,11,12,13,...

mer än 8 år ago | 1 answer | 0

1

answer

Question


transfering the one row matrix into multiple row matrix with the same data
How can I transfer the one row matrix A into multiple row matrix A' with the same data just like below: A=[3 0 0 0 2 8 1 0...

mer än 8 år ago | 1 answer | 0

1

answer

Question


filter a matrix based on the data of each row
I have a 2D Matrix (A, for example) and I want Matlab show only the rows with at leas two non-zero elements within each row (B),...

mer än 8 år ago | 1 answer | 0

1

answer

Answered
Add 8 to the elements of matrix a=[1 7 5 7 2 3 8 2 9 5] that are higher than 3
The answer from below link is also good answer: b = a + 8 * (a>3); <http://stackoverflow.com/questions/38076868/adding...

mer än 8 år ago | 0

Question


Add 8 to the elements of matrix a=[1 7 5 7 2 3 8 2 9 5] that are higher than 3
how can I add 8 to the elements of matrix a=[1 7 5 7 2 3 8 2 9 5] that are higher than 3 without using the for loop? The desir...

mer än 8 år ago | 4 answers | 0

4

answers