plot each 20th spectra

3 次查看(过去 30 天)
myxtyx
myxtyx 2014-2-14
评论: myxtyx 2014-2-17
Hallo @ all
I do have a plotting problem. I have 4604 spectra, actually I´m only interested in the last 600 spectra which I want to plot. That is no problem by just using plot(rat_Approach(:,3960:4604));
Now comes the problem for me, I only want to plot each 20th of these spectra. When I use plot(rat_Approach(1:20:644,3960:4604)); matlab plot me all the spectra, buts with not all points.
Thanks for your help
myxtyx

采纳的回答

Rick Rosson
Rick Rosson 2014-2-14
plot(rat_Approach(:,3960:20:4604));

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Line Plots 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by