Clear Filters
Clear Filters

plot each 20th spectra

3 views (last 30 days)
myxtyx
myxtyx on 14 Feb 2014
Commented: myxtyx on 17 Feb 2014
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

Accepted Answer

Rick Rosson
Rick Rosson on 14 Feb 2014
plot(rat_Approach(:,3960:20:4604));

More Answers (0)

Categories

Find more on Line Plots in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!