This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

System Identification for an FIR System Using MATLAB System Blocks

This example shows how to use the MATLAB System block to implement Simulink® blocks using a System object™. It highlights two MATLAB System blocks. Access the MATLAB source code for each System object by clicking the "Source Code" hyperlink from the block dialog.

  • The Delay block uses a System object that has direct feedthrough set to false. This implies that the System object does not directly use the input to compute the output. Therefore, the Delay block could be safely used in a feedback system without introducing an algebraic loop.

  • The LMS Adaptive Filter block estimates the coefficients of an unknown system (formed by the Unknown System and Delay blocks). Its inputs are the desired signal and the actual signal. Its outputs are the estimated signal and the vector norm of the error in the estimated coefficients.

  • The Scope displays the error in the estimated signal and the vector norm of the error in the estimated coefficients.