| Signal Processing Toolbox | Search  Help Desk |
| strips | Examples See Also |
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 x if it is complex.
Example
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 |
Linear two-dimensional plot (see the online MATLAB Function Reference). |
stem |
Plot discrete sequence data (see the online MATLAB Function Reference). |