Clear Filters
Clear Filters

selecting specific values on a matrix

2 views (last 30 days)
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
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.

Sign in to comment.

Accepted Answer

Azzi Abdelmalek
Azzi Abdelmalek on 19 Nov 2013
Edited: Azzi Abdelmalek on 19 Nov 2013
A(4:end,6:10)
Look at
doc array

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!