I have a 359x479 matrix. I want to down-sample it by removing every 2nd, 4th, so on... row and column. Which is the best method?

 Akzeptierte Antwort

Roberto
Roberto am 27 Apr. 2014
Bearbeitet: Roberto am 27 Apr. 2014

0 Stimmen

try accessing x vector/matrix by index e.g.
x = x( 1:2:end , 1:2:end );

Weitere Antworten (0)

Kategorien

Mehr zu Interpolation finden Sie in Hilfe-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