plot selective columns eliminating few

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 comentario

Sai Aparna Kalvapalle
Sai Aparna Kalvapalle el 30 de Ag. de 2016
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?

Iniciar sesión para comentar.

 Respuesta aceptada

Más respuestas (0)

Categorías

Preguntada:

el 30 de Ag. de 2016

Respondida:

el 30 de Ag. de 2016

Community Treasure Hunt

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

Start Hunting!

Translated by