Main Content

Data Typing Filter

This example shows how to apply a filter to signals of different data types using standard Simulink® blocks. In this example, a signal with some noise is produced. This signal is then fed into a filter as a single precision data type and a standard double data type. The output from the filter for each signal is then compared and the error is displayed on the scope.