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!