DocumentationHelp CenterDocumentation
Display scope window
show(scope)
show(scope) shows the scope window.
scope
collapse all
Create a time-domain sinusoidal signal. Display the signal by calling the time scope object.
Create a sinusoidal signal with two tones, one at 0.3 kHz and the other at 3 kHz.
t = (0:1000)'/8e3; xin = sin(2*pi*0.3e3*t)+sin(2*pi*3e3*t);
Create a timescope object and view the sinusoidal signal by calling the time scope object scope.
timescope
scope = timescope('SampleRate', 8e3,... 'TimeSpanSource', 'property', ... 'TimeSpan', 0.1); scope(xin)
Run release to allow changes to property values and input characteristics. The scope automatically scales the axes.
release
release(scope);
Hide the scope window.
if(isVisible(scope)) hide(scope) end
Show the scope window.
if(~isVisible(scope)) show(scope) end
Scope object whose window you want to show, specified as a timescope object.
Example: myScope = timescope; show(myScope)
myScope = timescope; show(myScope)
generateScript
hide
isVisible
You have a modified version of this example. Do you want to open this example with your edits?
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.
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:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office