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?

 採用された回答

Roberto
Roberto 2014 年 4 月 27 日
編集済み: Roberto 2014 年 4 月 27 日

0 投票

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

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeInterpolation についてさらに検索

タグ

質問済み:

2014 年 4 月 27 日

編集済み:

2014 年 4 月 27 日

Community Treasure Hunt

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

Start Hunting!

Translated by