Extracting from a matrix
2 views (last 30 days)
Show older comments
I have a 6 row 800 column matrix... How do I extract the data in row 2 only to the 600th column?
0 Comments
Accepted Answer
Stephen23
on 26 Oct 2018
Edited: Stephen23
on 26 Oct 2018
Where A is your matrix:
B = A(2,1:600)
Basic MATLAB concepts, like how to use indexing, are explained in the introductory tutorials:
More Answers (0)
See Also
Categories
Find more on Get Started with MATLAB 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!