主要内容

本页翻译不是最新的。点击此处可查看最新英文版本。

矩阵运算

R2026a
用于矩阵运算建模的模块

使用矩阵运算库中的模块来对常用矩阵运算进行建模。

模块

Array Processing Subsystem blockArray Processing SubsystemApply algorithm to each element of a matrix (自 R2024a 起)
Create Diagonal Matrix blockCreate Diagonal Matrix根据对角元素创建方对角矩阵
Cross Product blockCross Product两个向量的叉积
Expand Scalar blockExpand ScalarCreate matrix from scalar using scalar expansion (自 R2024a 起)
Extract Diagonal blockExtract DiagonalExtract main diagonal of input matrix
Hermitian Transpose blockHermitian Transpose计算矩阵的埃尔米特转置
Identity Matrix blockIdentity MatrixGenerate matrix with ones on main diagonal and ground values elsewhere
Is Hermitian blockIsHermitianCheck if matrix is Hermitian or skew-Hermitian (自 R2022a 起)
IsSymmetric blockIsSymmetric检查矩阵是否对称或斜对称
Is Triangular blockIsTriangularCheck if matrix is upper or lower triangular
Matrix Concatenate blockMatrix Concatenate串联相同数据类型的输入矩阵以进行迭代处理
Matrix Square blockMatrix SquareCompute square of input matrix
Neighborhood Processing Subsystem blockNeighborhood Processing SubsystemCreate algorithm that follows the neighborhood pattern (自 R2022b 起)
Permute Matrix blockPermute MatrixReorder matrix rows or columns
Pixel Processing Subsystem blockPixel Processing SubsystemCreate algorithm that converts multichannel image data to single-channel (自 R2024a 起)
Product blockProduct, Matrix Multiply标量和非标量的乘除运算或者矩阵的乘法和逆运算
Submatrix blockSubmatrixSelect subset of elements (submatrix) from matrix input
Transpose blockTranspose计算矩阵转置