Mathematische Operationen
R2026aMathematische Funktionsblöcke wie Gain, Product und Sum
Verwenden Sie Blöcke aus der Bibliothek „Math Operations“, um grundlegende mathematische Funktionen zu modellieren.
Blöcke
| Abs | Output absolute value of input | |
| Algebraic Constraint | Constrain signal value when solving algebraic loop | |
| Assignment | Assign values to specified elements of signal | |
| Bias | Add bias to input | |
| Complex to Magnitude-Angle | Compute magnitude and/or phase angle of complex signal | |
| Complex to Real-Imag | Output real and imaginary parts of complex input signal | |
| Divide | Divide one input by another | |
| Dot Product | Generate dot product of two vectors | |
| Find Nonzero Elements | Find nonzero elements in array | |
| Gain | Multiply input by constant | |
| Magnitude-Angle to Complex | Convert magnitude and/or a phase angle signal to complex signal | |
| Math Function | Perform mathematical function | |
| Matrix Concatenate | Concatenate input matrices of same data type for iterative processing | |
| MinMax | Output minimum or maximum input value | |
| MinMax Running Resettable | Determine minimum or maximum of signal over time | |
| Permute Dimensions | Rearrange dimensions of multidimensional array dimensions | |
| Polynomial | Perform evaluation of polynomial coefficients on input values | |
| Product of Elements | Copy or invert one scalar input, or collapse one nonscalar input | |
| Product, Matrix Multiply | Multiply and divide scalars and nonscalars or multiply and invert matrices | |
| Real-Imag to Complex | Convert real and/or imaginary inputs to complex signal | |
| Reshape | Change dimensionality of signal | |
| Rounding Function | Anwenden der Rundungsfunktion auf Signal | |
| Sign | Angabe des Vorzeichens der Eingabe | |
| Sine Wave Function | Generate sine wave, using external signal as time source | |
| Slider Gain | Vary scalar gain using slider | |
| Sqrt | Calculate square root, signed square root, or reciprocal of square root | |
| Squeeze | Remove singleton dimensions from multidimensional signal | |
| Sum | Add or subtract inputs | |
| Trigonometric Function | Specified trigonometric function on input | |
| Unary Minus | Negate input | |
| Vector Concatenate | Eingangsvektoren mit denselben Datentypen zur iterativen Verarbeitung verketten | |
| Weighted Sample Time Math | Support calculations involving sample time |