How to reduce an existing matrix
Ältere Kommentare anzeigen
I would like to reduce an existing matrix (1885x1885) to (188x188), essentially discarding the last 5 rows and columns.
How would I code this. Thanks in advance.
1 Kommentar
Azzi Abdelmalek
am 4 Aug. 2013
What do you mean by reduce? Please give a short example
Akzeptierte Antwort
Weitere Antworten (3)
Sausan Khomusi
am 4 Aug. 2013
0 Stimmen
Roger Stafford
am 4 Aug. 2013
Bearbeitet: Roger Stafford
am 4 Aug. 2013
M = M(10:10:end,10:10:end);
Cedric
am 4 Aug. 2013
buffer = M(:,1:10:end) ;
M_reduced = buffer(1:10:end,:) ;
1 Kommentar
Sausan Khomusi
am 4 Aug. 2013
Kategorien
Mehr zu Univariate Discrete Distributions finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!