how to fill a matrix?
Show older comments
Hi everyone. I'm trying to make code in which every time I run the code I have different values of X, and I what to save them in a matrix that changes size.
med = 8 (this value changes)
X = 2 (this value changes)
VecVal = zeros(1,med)
5 Comments
darova
on 8 Oct 2019
Can you please describe the process? Can you be more precise?
Laura Echeverri Zea
on 8 Oct 2019
Edited: Image Analyst
on 8 Oct 2019
Image Analyst
on 8 Oct 2019
So? What's wrong with that?
darova
on 8 Oct 2019
Exactly. Im curious
Laura Echeverri Zea
on 8 Oct 2019
Accepted Answer
More Answers (1)
Laura Echeverri Zea
on 8 Oct 2019
0 votes
Categories
Find more on Matrix Indexing 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!