Altera Corporation 23
Exercise 2: Simulate the Model in Simulink
Parameters in this command line include the following:
• adder_result_sim is the name of the signal at the output
of the adder.
• Frequency Response – Unfiltered Data is the title
of the plot.
• 10e7 is the sampling frequency (100 MHz), which is well
above the Nyquist frequency.
A MATLAB plot displays the frequency response of the
unfiltered data, as shown in Figure 16.
Figure 16. FFT Response of adder_result_sim - Unfiltered Data
b. To view the frequency response of the filtered data, type the
following command in the MATLAB Command Window:
plot_fft(fir_result_sim,'Frequency Response – Filtered Data',10e7) r
Comments to this Manuals