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 visualización (últimos 30 días)
fb=fir1(50,[0.2500 0.8750]); %FIR filter fb

Respuesta aceptada

Star Strider
Star Strider el 26 de Jun. de 2016
Use the freqz function:
fb=fir1(50,[0.2500 0.8750]); %FIR filter fb
figure(1)
freqz(fb, 1, 65536)
  6 comentarios
Saiankita Anand
Saiankita Anand el 26 de Jun. de 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 el 26 de Jun. de 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.)

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Frequency Transformations en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by