Does freqz give the Fourier Transform ??

조회 수: 11 (최근 30일)
moonman
moonman 2011년 11월 1일
Hi i am having this code
h770=[];
L=50;
fs=8000;
fb=770;
h770 = (2/L)*cos(2*pi*fb*(0:L-1)/fs);
fs=8000;
ww=0:(pi/256):pi;
ff=ww/(2*pi)*fs;
H=freqz(h770,1,ww);
plot(ff,abs(H));
grid on;
xlabel('Frequency')
ylabel('Magnitude')
title('Frequency Response of h770')
Is this the fourier transform? Does freq response and fourier transform are same thing?
  댓글 수: 1
Wayne King
Wayne King 2011년 11월 1일
The frequency response of a system, or a filter, is the Fourier transform of its impulse response.

댓글을 달려면 로그인하십시오.

채택된 답변

Wayne King
Wayne King 2011년 11월 1일
You're right. It's just a matter of terminology. We don't say the frequency response of a signal, we say the frequency response of a system, or operator (filter). The frequency response IS the Fourier transform of the system's impulse response, or equivalently stated, the z-transform of the system's impulse response evaluated on the unit circle.
  댓글 수: 1
moonman
moonman 2011년 11월 1일
Great Explanation
Thanks a lot

댓글을 달려면 로그인하십시오.

추가 답변 (2개)

Daniel Shub
Daniel Shub 2011년 11월 1일
Yes and no. The way your are doing it no, but it can be made to do it.
x = randn(10, 1);
X = fft(x);
Y = freqz(x, 1, length(x), 'whole');
isequal(Y, X)

moonman
moonman 2011년 11월 1일
Is there any difference in Freq Response and Fourier Transform As per my understanding, they are both same things

카테고리

Help CenterFile Exchange에서 Discrete Fourier and Cosine Transforms에 대해 자세히 알아보기

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by