How can i loop a matrix without knowing is size?
Show older comments
Hello!
So, i'm trying to make a loop where i have a matrix to go through and save their elements in a vector. Just note that i don't know the size of the matrix. So how can i do it?
Thanks!
2 Comments
Star Strider
on 1 Mar 2019
Are you somehow prevented from using the size function?
Joana Santos
on 1 Mar 2019
Accepted Answer
More Answers (0)
Categories
Find more on Loops and Conditional Statements in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!