Deleting rows and columns

1 次查看(过去 30 天)
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 CenterFile Exchange 中查找有关 Matrices and Arrays 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by