Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

MATLAB - obtaining magnitude spectrums

Status
Not open for further replies.

maddoxbey

Newbie
Joined
Apr 21, 2012
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,285
Obtain and compare the magnitude spectrums of Hanning, Hamming and triangular windowed 100 and 110 Hz signals using a 20-ms window for each using MATLAB.

how can i do that?

i did plot 100 hz signal and made fft and saw the peak on 100 Hz. but how can i apply windows.

please someone help me. i am in deep. :/
 

You simply multiply the time-domain signal by the window before you perform the FFT.

I haven't used matlab in a while, but I believe there is a built in Hanning function (and maybe others?). Even if not, it's pretty easy to generate those windows manually.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top