how can i select part of column from matrix 2000*6
Show older comments
x=m(:1)
its ok i'm already select column but i want part from column same 1400:1500 so i'm try already
example
x=m(:1,1400:1500)
but not work (error) so how can i take this part from column
Accepted Answer
More Answers (1)
Addresses are row, column
x=m(1400:1500,1);
Simply put the numeric range in with the colon operator for rows or columns as desired.
Clearly you haven't worked thru the "Getting Started" section...type
doc
and then you're on your way w/ under the "MATLAB" button.
Categories
Find more on Operators and Elementary Operations 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!