Parsing certain indexs in array

So I have a 104X800 array . I need to plot only odd columns. then I need to have columns between 100-300 plotted, and not plot columns 1-100 and 300-400 example: say row 70 and only look at all odd columns.
I know I can exclude the last 100 columns with "end-100" and only plot odd columns with "1:2", but im having trouble with excluding beginning?? plot(data(70,1:2:end-100)');

답변 (0개)

카테고리

도움말 센터File Exchange에서 Matrix Indexing에 대해 자세히 알아보기

태그

질문:

m j
2016년 9월 7일

댓글:

2016년 9월 7일

Community Treasure Hunt

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

Start Hunting!

Translated by