Making a three column matrix
Show older comments
Hi everyone! I am having trouble with the following: I have built a 31 row by 3 columns ceros matrix and I am trying to index values to each column, I want my first column to go from 140 to 440(this are lengths), but when trying to do so my values start from 0, then 140, then 440... Then in the second column I want the values of column 1 to appear because I need to compare how many lengths are being acumulated( this to later build a histogram..) I would very much appreciate your help!
4 Comments
Raul Andres Lopez Romero
on 13 Dec 2017
Can you provide an example, of what you want? i think you want column 1 140 141 142 . . . 440 but i'm not sure ...
Jan
on 13 Dec 2017
Please post your code. How could a reader suggest an improvement without seeing the code?
Liliana Sierra
on 13 Dec 2017
Liliana Sierra
on 13 Dec 2017
Accepted Answer
More Answers (1)
Liliana Sierra
on 13 Dec 2017
0 votes
Categories
Find more on Mathematics 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!