Info

この質問は閉じられています。 編集または回答するには再度開いてください。

manipultion of matrix element

1 回表示 (過去 30 日間)
Rica
Rica 2013 年 1 月 14 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
hi! i have as an example this matrix (my matrix is big):
%
A=[a1 a2 a3 a4 a5 a6 a7; b1 b2 b3 b4 b5 b6 b7; c1 c2 c3 c4 c5 c6 c7]
how could i build
f=[a1 a3 a5 a7;b1 b3 b5 b7;c1 c3 c5 c7] ?
thank you

回答 (1 件)

Matt J
Matt J 2013 年 1 月 14 日
f=A(:,1:2:end);

この質問は閉じられています。

Community Treasure Hunt

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

Start Hunting!

Translated by