Angle-Time Intensity Scope
Libraries:
Phased Array System Toolbox /
Sinks
Description
The Angle-Time Intensity Scope block creates a scrolling display of angle response intensities as a function of time. The input consists of angle responses for a pulse or FMCW signal. Each frame of data creates a new line on the scope. The scope serves as a display of the angle response.
Examples
Direction of Arrival with Beamscan and MVDR
Use beamscan and minimum variance distortionless response (MVDR) techniques for direction of arrival (DOA) estimation in Simulink®. It is based on the MATLAB® example Direction of Arrival Estimation with Beamscan, MVDR, and MUSIC.
Ports
Input
X — Input data
real-valued length-M vector
Input data, specified as a real-valued length-M vector of angle responses. Each vector corresponds to a line of data. The block can accept single precision data type input, but converts the data to double precision for display.
Data Types: double
| single
Parameters
Angle offset (degree) — Angle offset
0.0
(default) | scalar
Angle offset, specified as a scalar. This property defines the angle value of the first column of the display. Units are in degrees.
Programmatic Use
Block
Parameter:AngleOffset |
Type:double |
Values:scalar | |
Default:0.0 |
Data Types: double
Angle resolution (degree) — Angle difference between samples
1.0
(default) | positive scalar
Angle separation between samples, specified as a positive scalar. This property defines the angle difference between columns of the scope. Units are in degrees.
Programmatic Use
Block
Parameter:AngleResolution |
Type:double |
Values:positive scalar | |
Default:0.0 |
Data Types: double
Time span (s) — Time span of display
Auto
(default)
Time span of the intensity display, specified as a positive scalar. When the
Time span (s) is set to Auto
the simulation
stops at the default stop time of the simulation. Units are in
seconds.
Programmatic Use
Block
Parameter:TimeSpan |
Type:double |
Values:scalar |
Default:0.1 |
Data Types: double
Time resolution (s) — Time difference between rows
Auto
(default)
Time interval between rows, specified as a positive scalar. This property defines
the time duration between rows of the scope. When the Time resolution (s)
parameter is set to Auto
the block uses the
Compiled Sample Time value during simulation. At all other
times, the block uses the value specified by this parameter. Units are in
seconds.
Programmatic Use
Block
Parameter:TimeResolution |
Type:double |
Values:positive scalar |
Default:0.001 |
Data Types: double
Grid — Show Cartesian grid overlay
on (default) | off
Show Cartesian grid overlay. To show the grid, select the check box.
Programmatic Use
Block
Parameter:ShowGrid |
Type:logical |
Values:1 | 0 |
Default:1 |
Ticks — Show tick value labels
on (default) | off
Show value labels on tick marks. To display the labels, select the check box.
Programmatic Use
Block
Parameter:ShowTicks |
Type:logical |
Values:1 | 0 |
Default:1 |
Angle label — Angle-axis label
'Angle (degree)'
(default) | character vector | string
Angle-axis label, specified as a character vector or a string.
Example: 'Angle (rad)'
Tunable: Yes
Programmatic Use
Block
Parameter:AngleLabel |
Type:string |
Values:string |
Default:'Angle
(degree)' |
Data Types: char
| string
Time label — Time axis label
'Time History (s)'
(default) | string
Time-axis label, specified as a string.
Tunable: Yes
Programmatic Use
Block
Parameter:TimeLabel |
Type:string |
Values:string |
Default:'Time History
(s)' |
Data Types: string
Title — Window title
Angle vs. Time'
(default) | string
Window title, specified as a string.
Tunable: Yes
Programmatic Use
Block
Parameter:Title |
Type:string |
Values:string |
Default:'Doppler vs.
Time' |
Data Types: char
Colorbar label — Color bar label
'dB'
(default) | string
Color bar label, specified as a string.
Tunable: Yes
Programmatic Use
Block
Parameter:ColorBarLabel |
Type:string |
Values:string |
Default:'dB' |
Data Types: string
Block Characteristics
Data Types |
|
Direct Feedthrough |
|
Multidimensional Signals |
|
Variable-Size Signals |
|
Zero-Crossing Detection |
|
More About
Description
This section shows how to run the scope, configure the settings to show labels for the
various features and use the cursor to examine data. The scope is based on the phased.ATIScope
System object™. Using the scope to display response corresponds to setting the
IQDataInput
property of the phased.ATIScope
System object to false
.
Run the Scope
After selecting and opening the block, the scope displays a single tab PLOT. Click the tab to show all the controls available for the block. The Settings menu displays all the settable parameters for the scope. The Step Back, Run, Step Forward, and Stop buttons control the simulation. The Data Cursors button lets you examine data values on the display.
Scope Parameter Settings
Clicking the Settings button on the PLOT tab opens the parameter window with the DATA AND AXES and LABELS parameters.
DATA AND AXES
Angle offset (Hz) – Use this field to set the frequency offset of the x-axis.
Angle resolution (Hz) – Use this field to set the granularity of the x-axis.
Time span (s) – Use this field to set the duration of the y-axis.
Time resolution (s) – Use this field to set the granularity of the y-axis.
LABELS
Angle label – Use this field to set the y-axis label.
Time label – Use this field to set the y-axis label.
Title – Use this field to set the display title.
Colorbar label – Set this field to set the color bar label.
Using Cursors
Click the Data Cursors button to display the screen cursors. Each cursor consists of intersecting horizontal and vertical cursors that define a point on the display. Positioning two cursors on the display shows the difference between the intensities at the two cursor points.
Extended Capabilities
C/C++ Code Generation
Generate C and C++ code using Simulink® Coder™.
This block can be used for simulation visibility in systems that generate code but is not included in the generated code.
Version History
Introduced in R2022b
MATLAB 명령
다음 MATLAB 명령에 해당하는 링크를 클릭했습니다.
명령을 실행하려면 MATLAB 명령 창에 입력하십시오. 웹 브라우저는 MATLAB 명령을 지원하지 않습니다.
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)