main content

array and matrix mathematics -凯发k8网页登录

array and matrix operations, polynomial fitting

you can perform several mathematical operations on arrays and matrices using system objects and blocks in the dsp system toolbox™. these operations include simple operations such as addition, subtraction, multiplication, and division, and more complex operations such as cumulative sum, cumulative product, and normalization. you can also extract diagonals and upper and lower triangles from matrices. in addition, there are dsp system toolbox blocks that perform polynomial fitting in a least-squares sense, evaluate polynomial expressions, and determine if the roots of a polynomial are inside the unit circle.

blocks

add vector to array along specified dimension
divide array by vector along specified dimension
multiply array by vector along specified dimension
subtract vector from array along specified dimension
cumulative product of channel, column, or row elements
cumulative sum of channel, column, or row elements
convert magnitude data to decibels (db or dbm)
apply decibel gain
compute element-to-element difference along specified dimension of input
perform vector normalization along rows, columns, or specified dimension
extract lower or upper triangle from input matrices
compute 1-norm of matrix
concatenate input matrices of same data type for iterative processing
compute matrix exponential
multiply and divide scalars and nonscalars or multiply and invert matrices
multiply matrix elements along rows, columns, or entire input
add or subtract inputs
overwrite submatrix or subdiagonal of input
compute reciprocal condition of square matrix in 1-norm
generate matrix with toeplitz symmetry
compute polynomial coefficients that best fit input data in least-squares sense
evaluate polynomial expression
use schur-cohn algorithm to determine whether all roots of input polynomial are inside unit circle

topics


  • simulink® model example that shows how to calculate the rowwise and columnwise difference of a matrix.


  • simulink model example that shows how to calculate the max column sum of a matrix.


  • use the matrix exponential block to compute the matrix exponential of a square matrix.


  • list of system objects that support variable-sized signals in dsp system toolbox.

网站地图