I am trying to calculate the magnitude of the frequency response by taking the FFT of an RC circuit's impulse response. I can obtain and plot the step and impulse response with ease, but I am having difficulty with the plot format for the magnitude of the FFTed impulse response.
Can someone offer a few tips?
%A simple low pass RC circuit
%R = 1k, C= 1uF
t=0:0.0001:0.01 % Start at T=0, .001 steps, stop time 0.01
title('Magnitude Spectrum of Impulse Response');
||12/7/2009 12:43:04 AM