Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

manipultion of matrix element

1 Ansicht (letzte 30 Tage)
Rica
Rica am 14 Jan. 2013
Geschlossen: MATLAB Answer Bot am 20 Aug. 2021
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

Antworten (1)

Matt J
Matt J am 14 Jan. 2013
f=A(:,1:2:end);

Diese Frage ist geschlossen.

Community Treasure Hunt

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

Start Hunting!

Translated by