Making a three column matrix
이전 댓글 표시
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
Raul Andres Lopez Romero
2017년 12월 13일
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
2017년 12월 13일
Please post your code. How could a reader suggest an improvement without seeing the code?
Liliana Sierra
2017년 12월 13일
Liliana Sierra
2017년 12월 13일
채택된 답변
추가 답변 (1개)
카테고리
도움말 센터 및 File Exchange에서 Mathematics에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!