Matrix elaboration

3 Ansichten (letzte 30 Tage)
Nello Troccia
Nello Troccia am 2 Apr. 2012
Hi, I have a matrix n*m and I want to extract part of it. For example the firsts five lines and the firsts six column. How could I do? Regards!!

Akzeptierte Antwort

Bjorn Gustavsson
Bjorn Gustavsson am 2 Apr. 2012
Msub = M(1:5,1:6);
But there are "getting started" documentation to get you up and running in no time, also at the command-line prompt type:
demo
to get another set of introductory walk-through. These are better tools than to ask here for each and every initial step.
HTH

Weitere Antworten (0)

Kategorien

Mehr zu Resizing and Reshaping Matrices finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by