Thanks for your response. I did the IFFT, because I need to convert the frequency to time. As the given transfer function in frequency domain is a low pass filter, so in the time domain, the output should be exponential.
IFFT of Low Pass Filter function
8 views (last 30 days)
Show older comments
Let, a low pass filter function, R= α^2/(α^2+〖(2πfd)〗^2 ) , where d and α are constant, f is frequency.
If I take the IFFT of R, I should see an exponetial plot (in time domain). But I get it wrong at output. Probably I have done something wrong in my code. Any help would be greately appreciated. I have included my code here:
f = logspace(0,10,1000);
alpha = 0.295/4.343/1000;
d = 1.6693e-12;
A = alpha.^2 ./ (alpha.^2 + (2.*pi.*f.*d).^2);
B =abs(ifftshift(ifft(A)));
B = B(length(B)/2 : end); %
semilogy(B);
0 Comments
Answers (1)
See Also
Categories
Find more on Filter Analysis in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!