Info

Questa domanda è chiusa. Riaprila per modificarla o per rispondere.

manipultion of matrix element

1 visualizzazione (ultimi 30 giorni)
Rica
Rica il 14 Gen 2013
Chiuso: MATLAB Answer Bot il 20 Ago 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

Risposte (1)

Matt J
Matt J il 14 Gen 2013
f=A(:,1:2:end);

Questa domanda è chiusa.

Community Treasure Hunt

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

Start Hunting!

Translated by