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)');
1 个评论
Walter Roberson
2016-9-7
plot( data(70, 101:2:300) )
??
回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Matrix Indexing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!