Signal Processing Toolbox |
Syntax
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
stmcb | tf2latc |
© 1994-2005 The MathWorks, Inc.