decompose trigonometric signal

Status
Not open for further replies.

ncomputinguae

Newbie level 1
Joined
Nov 20, 2009
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
UAE
Activity points
1,288
decompose signal

hello guys
i want to know how we can decompose for example
x=a1*sin(2*pi*f1*t)+a2*sin(2*pi*f2*t2)
i confuse that first find fft or dft which means
y[array of output]=fft or dft or... * x[array of input that here is x]
but i have question what is x , x is just one signal how we can find one array from x?
and after that what is important for us ?
how can we find ferequenses from that?
pleea help me i am very very confuse
 

Hi ncomputinguae
Probably you are asking about MATLAB implementation.
First the input x=a1*sin(2*pi*f1*t)+a2*sin(2*pi*f2*t) is having time as independent variable.
Since you cannot work with continuous signals in Digital Computer, so you define a discrete signal say
Code:
t=0:0.01:10;
Now 't' is an array.
Like wise x=a1*sin(2*pi*f1*t)+a2*sin(2*pi*f2*t) is also an array.
Now you take fft of x which will result y which is also an array! Hope this explanation removes your confusion about array.

Secondly you asked about the frequency component in the signal. This can be found by observing the amplitude of each bin of the fft.
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…