Partition a signal into frames. Strip plot all signal frames.
Load a data file with a 73113-sample signal y. Partition a signal into 16384-sample frames with a 2048-sample overlap and padding the last frame with zeros. Show all the frames in a strip plot.
If x is an M-by-N
matrix and you do not specify additional input arguments:
The strips function plots each column of
x on a separate horizontal strip.
The strips function labels the
y-axis ticks as 0, M, ⋯,
(N–1)M.
If x is an M-by-N
matrix and you specify additional input arguments, either by using the
strips(x,n) or strips(x,sd,Fs) syntaxes:
The strips function divides each column of
x into L-sample segments, where
L is either n or
ceil(sd*Fs) samples. If L does not
exactly divide M, then the
strips function assumes the remaining samples as
part of the final strip.
The strips function plots each segment of
x on a separate horizontal strip, overlaying all
columns on the same strip.
The strips function labels the
y-axis ticks as 0, L, ⋯,
(⌈M/L⌉–1)L.
Note
The function ignores the imaginary part of complex-valued
x.
Data Types: single | double Complex Number Support: Yes
Length of strips, specified as a real positive scalar.
Duration in seconds, specified as a positive scalar.
Specify sd and Fs simultaneously to
distinguish duration and sample rate inputs
(sd,Fs) from length input
(n).
Sample rate in hertz, specified as a positive scalar.
Scale factor, specified as a scalar. The strips function
ignores the imaginary part of complex-valued scale.
Data Types: single | double Complex Number Support: Yes
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window.
Web browsers do not support MATLAB commands.
Seleziona un sito web
Seleziona un sito web per visualizzare contenuto tradotto dove disponibile e vedere eventi e offerte locali. In base alla tua area geografica, ti consigliamo di selezionare: .
Puoi anche selezionare un sito web dal seguente elenco:
Come ottenere le migliori prestazioni del sito
Per ottenere le migliori prestazioni del sito, seleziona il sito cinese (in cinese o in inglese). I siti MathWorks per gli altri paesi non sono ottimizzati per essere visitati dalla tua area geografica.