Main Content


System object: phased.IntensityScope
Package: phased

Hide intensity scope window




hide(sIS) hides the display window of the phased.IntensityScope object, sIS.

Input Arguments

expand all

Intensity scope, specified as a phased.IntensityScope System object.

Example: phased.IntensityScope


expand all

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.

Note: This example runs only in R2016b or later. If you are using an earlier release, replace each call to the function with the equivalent step syntax. For example, replace myObject(x) with step(myObject,x).

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)', ...
    'TimeResolution',dt,'TimeSpan',timespan, ...

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;
    scanline(binindexdx) = 0;
    if k == 5

Version History

Introduced in R2016a