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