主要内容

MATLAB 中的定点矩阵运算

R2026b
优化的基于 CORDIC 的定点矩阵求解器和矩阵分解函数,用于高效代码

使用这些函数执行定点矩阵运算并生成高效的 C/C++ 代码。这些函数使用对嵌入式设备高效的基于 CORDIC 的算法求解线性方程组并执行核心矩阵运算,如 QR 分解和奇异值分解。使用包含的 Fixed-Point Designer™ 函数以解析方式确定线性系统求解器和矩阵分解模块的最佳定点数据类型。

有关这些算法的 Simulink® 模块实现,请参阅Simulink 中的定点矩阵运算。有关 MATLAB® 和 Simulink 中数学运算的基于 CORDIC 和其他嵌入式高效实现,请参阅MATLAB 和 Simulink 中的定点数学运算。

函数

全部展开

fixed.backwardSubstitute通过后代求解上三角方程组
fixed.forwardSubstitute通过前代求解下三角方程组
fixed.jacobiSVDFixed-point Jacobi singular value decomposition (自 R2023a 起)
fixed.qlessQRQ-less QR decomposition
fixed.qlessQRUpdateUpdate Q-less QR factorization
fixed.qrABCompute C = Q'B and upper-triangular factor R
fixed.qrMatrixSolveSolve system of linear equations Ax = B for x using QR decomposition
fixed.qlessQRMatrixSolveSolve system of linear equations (A'A)X = B for X using Q-less QR decomposition
fixed.svdFixed-point Golub-Kahan-Reinsch singular value decomposition (自 R2022b 起)
svdFixed-point Golub-Kahan-Reinsch singular value decomposition (自 R2022b 起)
fixed.qrFixedpointTypesDetermine fixed-point types for transforming A and R and B to C=Q'B in-place, where QR=A is QR decomposition of A
fixed.qlessqrFixedpointTypesDetermine fixed-point types for transforming A to R in-place, where R is upper-triangular factor of QR decomposition of A, without computing Q
fixed.realQRMatrixSolveFixedpointTypesDetermine fixed-point types for matrix solution of real-valued AX=B using QR decomposition
fixed.complexQRMatrixSolveFixedpointTypesDetermine fixed-point types for matrix solution of complex-valued AX=B using QR decomposition
fixed.realQlessQRMatrixSolveFixedpointTypesDetermine fixed-point types for matrix solution of real-valued A'AX=B using QR decomposition
fixed.complexQlessQRMatrixSolveFixedpointTypesDetermine fixed-point types for matrix solution of complex-valued A'AX=B using QR decomposition
fixed.realSingularValueLowerBoundEstimate lower bound for smallest singular value of real-valued matrix
fixed.complexSingularValueLowerBoundEstimate lower bound for smallest singular value of complex-valued matrix
fixed.singularValueUpperBoundUpper bound of largest singular value of matrix (自 R2022b 起)
fixed.realConditionNumberUpperBoundEstimate of upper bound for 2-norm condition number of real-valued matrix (自 R2022b 起)
fixed.complexConditionNumberUpperBoundEstimate of upper bound for 2-norm condition number of complex-valued matrix (自 R2022b 起)
fixed.forgettingFactorCompute forgetting factor required for streaming input data
fixed.forgettingFactorInverseCompute the inverse of the forgetting factor required for streaming input data
fixed.realQuantizationNoiseStandardDeviationEstimate standard deviation of quantization noise of real-valued signal
fixed.complexQuantizationNoiseStandardDeviationEstimate standard deviation of quantization noise of complex-valued signal

主题

精选示例