selecting specific values on a matrix

2 visualizzazioni (ultimi 30 giorni)
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 Commento
Image Analyst
Image Analyst il 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.

Accedi per commentare.

Risposta accettata

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

Più risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by