主要内容

Data Type Agent for Partial-Systolic Matrix Solve Using QR Decomposition Blocks

R2026b
Since R2025a

The Data Type Agent for the Partial-Systolic Matrix Solve Using QR Decomposition blocks is an interactive graphical tool that simplifies the task of specifying fixed-point data types for these blocks:

Open the Data Type Agent

To open the Data Type Agent, click a supported block in the model. On the Block tab, under Data Type, click the Data Type Agent icon.

Examples

Use Data Type Agent to Recommend Fixed-Point Data Types for Real Partial-Systolic Matrix Solve Using QR Decomposition Block

Follow the Implement Hardware-Efficient Real Partial-Systolic Matrix Solve Using QR Decomposition example to set up a model containing the Real Partial-Systolic Matrix Solve Using QR Decomposition block.

The RealPartialSystolicQRMatrixSolveModel model.

To open the Data Type Agent, first select the Real Partial-Systolic Matrix Solve Using QR Decomposition block in the model. Then, on the Block tab, under Data Type, click the Data Type Agent icon.

The Data Type Agent automatically populates known block parameters. Under Additional Parameters, assign a value of 1 for both Max of absolute value of A and Max of absolute value of B.

Data Type Agent for the Real Partial-Systolic Matrix Solve Using QR Decomposition block.

The Data Type Agent recommends fixed-point data types for the matrix solution of AX=B based on the parameters you enter in the left pane. The word length and fraction length of these data types are displayed in the table under Fixed-point types for matrix solution of AX=B. The Upper Bound of Overflow Probability plot displays an estimate of the upper bound of the probability of overflow as a function of output word length. The Block Timing section displays, for the given configuration, the number of cycles from validIn to ready and validIn to validOut.

To update the calculations, change the values under Block Parameters and Additional Parameters in the Data Type Agent. To apply these parameters to the selected block, click Update Block.

Parameters

expand all

Block Parameters

Number of rows in matrices A and B, specified as a positive integer-valued scalar. By default, this parameter is set to the value of the block parameter m.

Number of columns in matrix A, specified as a positive integer-valued scalar. By default, this parameter is set to the value of the block parameter n.

Number of columns in matrix B, specified as a positive integer-valued scalar. By default, this parameter is set to the value of the block parameter p.

Regularization parameter, specified as a real-valued nonnegative scalar. By default, this parameter is set to the value of the block parameter regularizationParameter.

Number of bits of precision required for the matrix solve, specified as a positive integer-valued scalar. Set this value according to system requirements. By default, this parameter is set to the precision specified by the block parameter OutputType.

Additional Parameters

Upper bound on the maximum magnitude element of matrix A, specified as a scalar.

Upper bound on the maximum magnitude element of matrix B, specified as a scalar.

Estimate of the standard deviation of the noise resulting from quantizing the elements of a real signal, specified as a scalar. The quantization noise standard deviation is a function of the required number of bits of precision. A well-designed system has the quantization noise standard deviation level lower than the thermal noise standard deviation. By default, the Estimate Standard Deviation from Quantization Noise parameter is set to on, and the tool automatically determines the noise standard deviation by using the fixed.realQuantizationNoiseStandardDeviation or fixed.complexQuantizationNoiseStandardDeviation function.

Whether to estimate the Noise Standard Deviation parameter from quantization noise. By default, this parameter is set to on, and the tool determines the noise standard deviation by using the fixed.realQuantizationNoiseStandardDeviation or fixed.complexQuantizationNoiseStandardDeviation function.

Probability of overflow, specified as a scalar. By default, the tool determines fixed-point data types such that the probability of overflow is low.

Maximum allowed word length, specified as a positive integer-valued scalar.

Algorithms

Using the Data Type Agent for the Partial-Systolic Matrix Solve Using QR Decomposition blocks is equivalent to manually determining fixed-point data types using the fixed.realQRMatrixSolveFixedpointTypes or fixed.complexQRMatrixSolveFixedpointTypes function.

For a full description of the algorithms used by the Data Type Agent, see:

For more information about block timing, see:

Limitations

When the specified Overflow Probability value is small, the algorithms the tool uses to estimate the probability of overflow perform well, and the estimated upper bound of overflow probability is close to the true overflow probability. When the Overflow Probability value is large, the estimated upper bound of overflow probability diverges and the algorithms used by the tool may produce less accurate results.

See Also

Blocks

Functions

Topics