Feeds
提问
Is there a way to set the range of values when using the magic function?
Lets say I have M=magic(5) The values randomly assigned to each positon in the matrix will range from 1 to 25. Is there any...
3 years 前 | 1 个回答 | 0
1
个回答提问
How to set the value of a variable in one function from another?
I have a function in its own file that has the variable n. I want to run the function in a loop incrementing the value for n eac...
3 years 前 | 1 个回答 | 0
1
个回答提问
What am I doing wrong when returning the value from the function to my loop?
I have wriiten the program in c++ and verified that it works but am struggling with the loop part when converting it to MATLAB. ...
3 years 前 | 1 个回答 | 0