dsp.MatrixViewer
Description
The dsp.MatrixViewer visualizes matrix data by mapping the matrix elements to a specified range of colors.
来visualize matrix data in the Matrix Viewer:
Create the
dsp.MatrixViewer
object and set its properties.Call the object with arguments, as if it were a function.
来learn more about how System objects work, seeWhat Are System Objects?
Zoom and Pan
来scale the plot axes, you can use the scroll button on your mouse to zoom in/out of the plot andCTRL+Clickand drag to pan around the plot. Additionally, you can use the buttons that appear when you hover over the upper right corner of the plot window.
— Autoscale the axes to fit the data.
— Zoom in to the plot.
— Pan around the axes.
Cursor Measurements
交流tivate cursor measurements by hovering over the matrix viewer and selecting the cursor button.
Two horizontal and two vertical cursors appear on the plot. A dialog box shows the difference between the two intersection points. Hovering over an intersection point shows the value at that intersection point. Move the cursors by clicking and dragging the cursor lines or the intersection points to your desired location. Additionally, you canAlt+Clickand drag the cursor dialog box to move the cursors while keeping the distance between the cursor lines constant.
Creation
Description
creates a Matrix Viewer System object™,scope
= dsp.MatrixViewerscope
.
sets properties using one or more name-value pairs. Enclose each property name in single quotes. For example,scope
= dsp.MatrixViewer(Name,Value)scope = dsp.MatrixViewer("AxisOrigin","Lower left corner")
Properties
Usage
Syntax
Description
Input Arguments
Object Functions
来use an object function, specify the System object as the first input argument. For example, to release system resources of a System object namedobj
, use this syntax:
release(obj)
Examples
版本历史
Introduced in R2019a