i have declared an FIR filter as fb as given below. Now, i want to find its Fourier transform as FB(jw) with respect to frequency w (omega). How can i do that? I dont think its the same as taking DFT.

1 view (last 30 days)
fb=fir1(50,[0.2500 0.8750]); %FIR filter fb

Accepted Answer

Star Strider
Star Strider on 26 Jun 2016
Use the freqz function:
fb=fir1(50,[0.2500 0.8750]); %FIR filter fb
figure(1)
freqz(fb, 1, 65536)
  6 Comments
Saiankita Anand
Saiankita Anand on 26 Jun 2016
gotcha. I have just started with Matlab some time back. Girls in coding are far and few in between around me. want to be as good in Matlab as you are :) Any suggestions?
Star Strider
Star Strider on 26 Jun 2016
Hang out here!
Then start Answering Questions. It will definitely build your knowledge and confidence with MATLAB.
Thank you! I learned more about MATLAB from hanging around MATLAB Answers for the last three years (total) than in the 20 years I used MATLAB before that (or so it seems). It’s quite intellectually challenging.
I don’t know where you are geographically, but if you’re near the University of Missouri Rolla campus, talk with Dr. Cheryl Schrader. She introduced me to MATLAB, and is the best control system professor you’ll ever have the privilege to study with. One woman who is relatively active here on MATLAB answers who are truly excellent is Kelly Kearney. She has a number of File Exchange contributions you could look through and learn from. I mention women here because women face different problems (and some discrimination) in the sciences, as much as we might want to deny it, so those who are successful at dealing with it are those it would be best to consult with. (FWIW, I’m male, so my perspectives in this regard are limited.)

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!