Community Profile

photo

Ryan O Malley


Last seen: 1 year ago Active since 2022

Followers: 0   Following: 0

Statistics

  • Thankful Level 2

View badges

Feeds

View by

Question


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

2 years ago | 1 answer | 0

1

answer

Question


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

2 years ago | 1 answer | 0

1

answer

Question


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

2 years ago | 1 answer | 0

1

answer