show
System object: phased.IntensityScope
Namespace: phased
Show intensity scope window
Syntax
show(sIS)
Description
show(
shows the
display window of the sIS
)phased.IntensityScope
object, sIS
.
Input Arguments
sIS
— Intensity scope
phased.IntensityScope
System object™
Intensity scope, specified as a phased.IntensityScope
System object.
Example: phased.IntensityScope
Examples
Hide and Show Intensity Scope
Create an angle-time-intensity scope. Use the phased.IntensityScope
System object™ to display simulated intensity as a function of the angular motion of a moving target. After five steps in the processing loop, use the hide
method to hide the scope. At completion of the loop, use the show
method to show the scope.
Simulate data for 5 seconds with a time interval of 0.5 seconds between scan lines.
nsteps = 10; dt = 0.5; timespan = nsteps*dt;
Set Up IntensityScope System Object
Create an angle-time-intensity scope having azimuth angle bins spanning −180° to 180° with 1° resolution.
scanline = zeros(361,1); angres = 1.0; angmin = -180.0; angmax = 180.0; rtidisplay = phased.IntensityScope( ... 'Name','IntensityScope Display',... 'Title','Azimuth vs. Time',... 'XLabel','Azimuth (deg)', ... 'XResolution',angres,'XOffset',angmin,... 'TimeResolution',dt,'TimeSpan',timespan, ... 'IntensityUnits','Watts',... 'Position',[100,100,800,450]);
Loop Over Scan Updates
Simulate angular motion and fill the bin containing the current angular position of the signal. Hide the scope after the 5th step and show the scope at the end of the simulation.
for k = 1:nsteps ang = -130.0 + k; binindexdx = floor((ang - angmin)/angres) + 1; scanline(binindexdx) = 1; rtidisplay(scanline); scanline(binindexdx) = 0; if k == 5 hide(rtidisplay) end pause(.1); end show(rtidisplay)
Version History
Introduced in R2016a
MATLAB Command
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.
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)
Asia Pacific
- Australia (English)
- India (English)
- New Zealand (English)
- 中国
- 日本Japanese (日本語)
- 한국Korean (한국어)