Polynomial Evaluation
R2026bEvaluate polynomial expression
Libraries:
DSP System Toolbox /
Math Functions /
Polynomial Functions
Description
The Polynomial Evaluation block applies a polynomial function to the real or complex input at the In port.
The equivalent MATLAB® code is shown here.
y = polyval(u)
The Polynomial Evaluation block performs this operation more efficiently than the equivalent construction using the Sum (Simulink) and Math Function (Simulink) blocks.
Examples
Ports
Input
Output
Parameters
Block Characteristics
Data Types |
|
Direct Feedthrough |
|
Multidimensional Signals |
|
Variable-Size Signals |
|
Zero-Crossing Detection |
|
Programmatic Use: Add Block
To add the block programmatically, use the add_block function with one of these library block paths as the source.
"dsppolyfun/Polynomial Evaluation"
Example: add_block("dsppolyfun/Polynomial Evaluation","myModel/myBlock",MakeNameUnique="on")
Extended Capabilities
Version History
Introduced before R2006a

