Deleting rows and columns

1 回表示 (過去 30 日間)
Deepayan Bhadra
Deepayan Bhadra 2014 年 4 月 27 日
編集済み: Roberto 2014 年 4 月 27 日
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 日
try accessing x vector/matrix by index e.g.
x = x( 1:2:end , 1:2:end );

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeMatrices and Arrays についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by