Contenu principal

La traduction de cette page n'est pas à jour. Cliquez ici pour voir la dernière version en anglais.

Opérations mathématiques

R2026a
Blocs de fonctions mathématiques tels que Gain, Product et Sum

Utilisez les blocs de la bibliothèque Math Operations pour modéliser les fonctions mathématiques de base.

Blocs

Abs blockAbsOutput absolute value of input
Algebraic Constraint blockAlgebraic ConstraintConstrain signal value when solving algebraic loop
Assignment blockAssignmentAssign values to specified elements of signal
Bias blockBiasAdd bias to input
Complex to Magnitude-Angle blockComplex to Magnitude-AngleCompute magnitude and/or phase angle of complex signal
Complex to Real-Imag blockComplex to Real-ImagOutput real and imaginary parts of complex input signal
Divide blockDivideDivide one input by another
Dot Product blockDot ProductGenerate dot product of two vectors
Find Nonzero Elements blockFind Nonzero ElementsFind nonzero elements in array
Gain blockGainMultiply input by constant
Magnitude-Angle to Complex blockMagnitude-Angle to ComplexConvert magnitude and/or a phase angle signal to complex signal
Math Function blockMath FunctionPerform mathematical function
Matrix Concatenate blockMatrix ConcatenateConcatenate input matrices of same data type for iterative processing
MinMax blockMinMaxOutput minimum or maximum input value
MinMax Running Resettable blockMinMax Running ResettableDetermine minimum or maximum of signal over time
Permute Dimensions blockPermute DimensionsRearrange dimensions of multidimensional array dimensions
Polynomial blockPolynomialPerform evaluation of polynomial coefficients on input values
Product of Elements blockProduct of ElementsCopy or invert one scalar input, or collapse one nonscalar input
Product blockProduct, Matrix MultiplyMultiply and divide scalars and nonscalars or multiply and invert matrices
Real-Imag to Complex blockReal-Imag to ComplexConvert real and/or imaginary inputs to complex signal
Reshape blockReshapeChange dimensionality of signal
Rounding Function blockRounding FunctionAppliquer une fonction d’arrondi au signal
Sign blockSignIndiquer le signe d’une entrée
Sine Wave Function blockSine Wave FunctionGenerate sine wave, using external signal as time source
Slider Gain blockSlider GainVary scalar gain using slider
Sqrt blockSqrtCalculate square root, signed square root, or reciprocal of square root
Squeeze blockSqueezeRemove singleton dimensions from multidimensional signal
Sum blockSumAdd or subtract inputs
Trigonometric Function blockTrigonometric FunctionSpecified trigonometric function on input
Unary Minus blockUnary MinusNegate input
Vector Concatenate blockVector ConcatenateConcaténer les vecteurs d’entrée du même type de données pour un traitement itératif
Weighted Sample Time Math blockWeighted Sample Time MathSupport calculations involving sample time