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

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?

댓글을 달려면 로그인하십시오.

 채택된 답변

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Shifting and Sorting Matrices에 대해 자세히 알아보기

질문:

2016년 8월 30일

답변:

2016년 8월 30일

Community Treasure Hunt

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

Start Hunting!

Translated by