bkirei
Electrical
- Nov 30, 2005
- 3
I'm quite new in Matlab\Simulink so I'm just learning how to use it.
The problem I had find: if I implement a low pass filter (Butterworth aproximation) using the Simulink's transfer function (numerator: [1], denomerator: [1 2^(1/2) 1]), a foreign frequency component apears in the spectrum of the output signal right in the cutoff frequency (in this case 1 rad/sec). I don't understand why.
To be more precise this is the procedure I use to plot the spectrum of the signal:
1. In the Simulink Block, let say I have a signal generator (sine, 10 rad/sec), the output is connected to the transfer function block, and the resulting signal is saved in the Matlab Workspace. (the simulation step is 0.001, simulation time 1)
2. In the Matlab's workspace I make the Fourier transform using the fft funtion
3. The resulting variable of the fft function is plotted by the semilogx function
After following the described procedure, in the spectrum I have two components: one component at x=1, and the second is on x=10.
Did somebody meet the same problem? If yes, what's the solution?
The problem I had find: if I implement a low pass filter (Butterworth aproximation) using the Simulink's transfer function (numerator: [1], denomerator: [1 2^(1/2) 1]), a foreign frequency component apears in the spectrum of the output signal right in the cutoff frequency (in this case 1 rad/sec). I don't understand why.
To be more precise this is the procedure I use to plot the spectrum of the signal:
1. In the Simulink Block, let say I have a signal generator (sine, 10 rad/sec), the output is connected to the transfer function block, and the resulting signal is saved in the Matlab Workspace. (the simulation step is 0.001, simulation time 1)
2. In the Matlab's workspace I make the Fourier transform using the fft funtion
3. The resulting variable of the fft function is plotted by the semilogx function
After following the described procedure, in the spectrum I have two components: one component at x=1, and the second is on x=10.
Did somebody meet the same problem? If yes, what's the solution?