selecting specific values on a matrix
2 views (last 30 days)
Show older comments
Hello my fellow companions, I have got a matrix but I would like to select values to create another matrix from it. Let me give you an example, I have a 10x10 matrix, I would like to select the 4th value till the end from column 6 to column 10. If anyone can help me with that much appreciated.
1 Comment
Image Analyst
on 23 Nov 2013
Here is what Shani asked, so that it will still be here when she deletes this question:
Hello my fellow companions, I have got a matrix but I would like to select values to create another matrix from it. Let me give you an example, I have a 10x10 matrix, I would like to select the 4th value till the end from column 6 to column 10. If anyone can help me with that much appreciated.
Accepted Answer
Azzi Abdelmalek
on 19 Nov 2013
Edited: Azzi Abdelmalek
on 19 Nov 2013
A(4:end,6:10)
Look at
doc array
0 Comments
More Answers (0)
See Also
Categories
Find more on Logical 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!