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.

fft spectral analysis in mat lab

Status
Not open for further replies.

suryakiran

Newbie level 1
Joined
Feb 15, 2013
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,285
I am new to mat lab i had the signal and have to write the code for it
and i want peak values in a diagram
please help me...
 

Hi,

Set the range for 'n' (as we are in discrete time domain), say n = [0:100]
Compute values for the given signal x[n] in the above taken range.

For spectral analysis, compute fft using fft(signal, N) and plot the abs value to get magnitude spectrum.
Let me know if you need the code.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top