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 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by