strips
Strip plot
Description
Examples
Strip Plot of Frequency-Modulated Sinusoid
Plot two seconds of a frequency-modulated sinusoid in 0.25-second strips. Specify a sample rate of 1 kHz.
fs = 1000; t = 0:1/fs:2; x = vco(sin(2*pi*t),[10 490],fs); strips(x,0.25,fs)
Strip Plot of Speech Signal
Load a speech signal sampled at . The file contains the recording of a female voice saying the word "MATLAB®."
load mtlb
Plot the signal in 0.18-second long strips. Scale the vertical axes to 125%.
strips(mtlb,0.18,Fs,1.25)
Input Arguments
x
— Input signal
vector | matrix
Input signal, specified as a vector or matrix. If x
is a
matrix, the strips
function plots each column of
x
as a horizontal strip on the same plot. The function ignores
the imaginary part of complex-valued x
.
Data Types: single
| double
Complex Number Support: Yes
n
— Length
250
(default) | real positive scalar
Length of strips, specified as a real positive scalar.
sd
— Duration
real positive scalar
Duration in seconds, specified as a real positive scalar. If sd
is specified, then you must also specify fs
.
fs
— Sample rate
real positive scalar
Sample rate, specified as a real positive scalar. fs
has units
of hertz.
scale
— Scale factor
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
Version History
Introduced before R2006a
Ouvrir l'exemple
Vous possédez une version modifiée de cet exemple. Souhaitez-vous ouvrir cet exemple avec vos modifications ?
Commande MATLAB
Vous avez cliqué sur un lien qui correspond à cette commande MATLAB :
Pour exécuter la commande, saisissez-la dans la fenêtre de commande de MATLAB. Les navigateurs web ne supportent pas les commandes MATLAB.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)