selecting even rows

8 ビュー (過去 30 日間)
FIR
FIR 2012 年 2 月 18 日
編集済み: Cedric 2013 年 10 月 15 日
I have a matrix of 14x6,in this matrix i want to select only even rows and display,please help

採用された回答

Andrei Bobrov
Andrei Bobrov 2012 年 2 月 18 日
A - your matrix
A = randi(23,14,6)
out = A(2:2:end,:)
  3 件のコメント
Andrei Bobrov
Andrei Bobrov 2012 年 2 月 18 日
Hi! This is eg!!!! :)
FIR
FIR 2012 年 2 月 18 日
Thanks andrei,can u please answer,i am struck here for some time
http://www.mathworks.in/matlabcentral/answers/29490-error-using-cell2mat

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeNumerical Integration and Differential Equations についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by