Skip to Main Content Skip to Search
Product Documentation

strips - Strip plot

Syntax

strips(x)
strips(x,n)
strips(x,sd,fs)
strips(x,sd,fs,scale)

Description

strips(x) plots vector x in horizontal strips of length 250. If x is a matrix, strips(x) plots each column of x. The left-most column (column 1) is the top horizontal strip.

strips(x,n) plots vector x in strips that are each n samples long.

strips(x,sd,fs) plots vector x in strips of duration sd seconds, given a sampling frequency of fs samples per second.

strips(x,sd,fs,scale) scales the vertical axes.

If x is a matrix, strips(x,n), strips(x,sd,fs), and strips(x,sd,fs,scale) plot the different columns of x on the same strip plot.

strips ignores the imaginary part of complex-valued x.

Examples

Plot two seconds of a frequency modulated sinusoid in 0.25 second strips:

fs = 1000;                         % Sampling frequency
t = 0:1/fs:2;                      % Time vector
x = vco(sin(2*pi*t),[10 490],fs);  % FM waveform
strips(x,0.25,fs)

See Also

plot | stem

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS