MATLAB: Can anyone explain the difference between fft and freqz commands

digital signal processing

can anyone explain the difference between fft and freqz commands?

Best Answer

It is hard to resist to answer "yes".
Let's assume that you've read the docs of both command already. While freqz replies the "Frequency response of digital filter", fft determines the "Fast Fourier transform". The first command takes filter coefficients as input and the number of points for the response, while the later gets a signal as input.
Does this help already? If not, please edit the question (not as comment) and add any details about why you compare these 2 different functions. Perhaps it helps, when you explain what you see as similarities.
Related Question