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.

How to find the frequency of perturbations in spectrum analysis?

Status
Not open for further replies.

marcopredador

Newbie level 1
Joined
Jun 11, 2009
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,289
Hey all.

i have an paper work on spectral analysis in matlab.
one of the questions is:

Let be a signal in vector ‘war’, sampled with a frequency of 25kHz. Note that it is
composed of a voice signal and two sinus signals (perturbations) situated at two different
frequencies.

Analyze the signal (time, number of samples, FFT) and locate the sinuses frequencies

i have analized the signal in time, number of samples and fft the problem is locating the sinuses frequencies.
i think the idea is to find out what are the frequencies of the perturbations, i have no idea how to make it.

anny help?

i know the code is not much but here is the code i have made until now
Code:
clear all
load war;
Time = length(war)/25000;%Hz
fprintf('Signal Time: %d\n',Time);
NSamples = length(war);
SampelsPerSec = length(war)/Time;
fprintf('Number of Samples: %d\n%d sampels per second (Hz)\n',NSamples, SampelsPerSec);
Y = fft(war);
plot(abs(Y));
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top