Read the questions posted on this topic, couldn't find something relatively closer. I have a matrix of 512x40, from this, I want to plot, 1-28 columns and from 29, I want only odd column's to be plotted. Any help is appreciated.
A = Data(:,29:2:end);
The above one just plots odd columns from 29-end. How do I include 1-28 columns in this?

1 Kommentar

One way would be manually defining the column/row numbers like a = (:,[1,2,3,4,5]); But this is lengthy. Is there any alternate method?

Melden Sie sich an, um zu kommentieren.

 Akzeptierte Antwort

Weitere Antworten (0)

Kategorien

Community Treasure Hunt

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

Start Hunting!

Translated by