Matlab: Analysis of signal
Posted
by Mateusz
on Stack Overflow
See other posts from Stack Overflow
or by Mateusz
Published on 2010-04-07T11:21:40Z
Indexed on
2010/04/07
12:13 UTC
Read the original article
Hit count: 356
Hi, I have a problem with this task:
For free route perform frequency analysis and give parametrs of each signal component:
- time of beginning and ending of each component
- beginning and ending frequency
- amplitude (in time domain) in the beginning and end of each signal's component
- level of noise in dB
Assume, that, the parametrs of each component like amplitude, frequency is changing lineary in time. Frequency of sampling is 1000Hz
For example I have signal like this:
Nx=64;
fs=1000;
t=1/fs*(0:Nx-1);
%==========================
A1=1;
A2=4;
f1=500;
f2=1000;
x1=A1*cos(2*pi*f1*t);
x2=A2*sin(2*pi*f2*t);
%==========================
x=x1+x2;
© Stack Overflow or respective owner