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
Intensity scope, specified as a phased.IntensityScope
System object.
Example: phased.IntensityScope
Examples
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.
选择网站
选择网站以获取翻译的可用内容,以及查看当地活动和优惠。根据您的位置,我们建议您选择:。
您也可以从以下列表中选择网站:
如何获得最佳网站性能
选择中国网站(中文或英文)以获得最佳网站性能。其他 MathWorks 国家/地区网站并未针对您所在位置的访问进行优化。
美洲
- América Latina (Español)
- Canada (English)
- United States (English)
欧洲
- 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)