(to be removed) time domain signal display and measurement -凯发k8网页登录
(to be removed) time domain signal display and measurement
description
note
dsp.timescope
is not recommended. use instead.
for more information, see compatibility considerations
the dsp.timescope
system object™ displays time-domain signals. you can use the scope to measure signal values,
find peaks, display bilevel measurements and statistics.
to see time-domain signals in the scope:
create the
dsp.timescope
object and set its properties.call the object with arguments, as if it were a function.
to learn more about how system objects work, see what are system objects?
oscilloscope features:
— set triggers to sync repeating signals and pause the display when events occur.
— measure signal values using vertical and horizontal cursors.
— display the maximum, minimum, peak-to-peak difference, mean, median, and rms values of a selected signal.
— find maxima, showing the x-axis values at which they occur.
— measure transitions, overshoots, undershoots, and cycles.
for information on measurements and triggers, see .
scope display features:
multiple signals — plot multiple signals on the same y-axis (display) using multiple input ports.
multiple y-axes (displays) — display multiple y-axes. all the y-axes have a common time range on the x-axis.
modify parameters — modify scope parameter values before and during a simulation.
axis autoscaling — autoscaling during or at the end of a simulation. margins are drawn at the top and bottom of the axes.
creation
syntax
description
returns a time scope
system object, scope
= dsp.timescopescope
. this object displays real- and complex-valued
floating and fixed-point signals in the time domain.
creates a time scope and sets the numinputports property to scope
= dsp.timescope(numinputs
,samplerate
)numinputs
and the samplerate
property to samplerate
.
sets properties specified as name,value pairs.scope
= dsp.timescope(___,name,value)
properties
usage
description
displays the signal, scope
(signal
)signal
, in the time scope display.
displays the signals scope
(signal
,signal2,...,signaln)signal
,
signal2
,...,signaln
in the time scope display
when you set the numinputports
property to n
. in
this case, signal1
,
signal2
,...,signaln
can have different data
types and dimensions.
input arguments
object functions
to use an object function, specify the
system object as the first input argument. for
example, to release system resources of a system object named obj
, use
this syntax:
release(obj)
if you want to restart the simulation from the beginning, call reset
to
clear the scope window displays. do not call reset
after calling
release
.
examples
tips
to close the scope window and clear its associated data, use the matlab® function.
to hide or show the scope window, use the and functions.
use the matlab
mcc
function to compile code containing a scope.you cannot open scope configuration dialogs if you have more than one compiled component in your application.
extended capabilities
version history
introduced in r2011asee also
objects
objects
- | |