Contenido principal

Matrix Operations

R2026b
Bloques para manipular matrices y procesar arreglos, como Transpose, Matrix Concatenate y Cross Product

Utilice bloques de la biblioteca Matrix Operations para manipular matrices y procesar arreglos. Puede trasponer, concatenar y permutar matrices, crear matrices diagonales y de identidad, comprobar las propiedades de las matrices y procesar arreglos elemento a elemento o por vecindad.

Para añadir bloques de esta biblioteca al modelo, consulte Add Blocks to Models.

Bloques

Array Processing Subsystem blockArray Processing SubsystemApply algorithm to each element of a matrix (Desde R2024a)
Create Diagonal Matrix blockCreate Diagonal MatrixCreate square diagonal matrix from diagonal elements
Cross Product blockCross ProductCross product of two vectors
Expand Scalar blockExpand ScalarCreate matrix from scalar using scalar expansion (Desde R2024a)
Extract Diagonal blockExtract DiagonalExtract main diagonal of input matrix
Hermitian Transpose blockHermitian TransposeCalcular la transpuesta hermítica de una matriz
Identity Matrix blockIdentity MatrixGenerate matrix with ones on main diagonal and ground values elsewhere
Is Hermitian blockIsHermitianCheck if matrix is Hermitian or skew-Hermitian (Desde R2022a)
IsSymmetric blockIsSymmetricCheck if matrix is symmetric or skew-symmetric
Is Triangular blockIsTriangularCheck if matrix is upper or lower triangular
Matrix Concatenate blockMatrix ConcatenateConcatenate input matrices of same data type for iterative processing
Matrix Square blockMatrix SquareCompute square of input matrix
Neighborhood Processing Subsystem blockNeighborhood Processing SubsystemCreate algorithm that follows the neighborhood pattern (Desde R2022b)
Permute Matrix blockPermute MatrixReorder matrix rows or columns
Pixel Processing Subsystem blockPixel Processing SubsystemCreate algorithm that converts multichannel image data to single-channel (Desde R2024a)
Submatrix blockSubmatrixSelect subset of elements (submatrix) from matrix input
Transpose blockTransposeCalcular la transpuesta de la matriz

Herramientas

Library BrowserFind and add blocks to model

Temas