genspecsines3.m
Go to the documentation of this file.
1 Y = genspecsines([10.3, 20.6, 30.9], [-10, -13, -16], [0, 0, 0], 1024);
2 %plot(ifft(Y));
3 f1=10.3;
4 f2=20.6;
5 f3=30.9;
6 t = [0:1/44100:0.1-1/44100];
7 x1 = cos(2*pi*f1*t);
8 x2 = cos(2*pi*f2*t);
9 x3 = cos(2*pi*f3*t);
10 x = x1 + x2+ x3;
11 plot(x);
12 
x1
Definition: genspecsines3.m:7
x3
Definition: genspecsines3.m:9
f2
Definition: genspecsines3.m:4
Y
Definition: genspecsines3.m:1
t
Definition: genspecsines3.m:6
plot(ifft(Y))
f3
Definition: genspecsines3.m:5
x2
Definition: genspecsines3.m:8
x
Definition: genspecsines3.m:10
f1
Definition: genspecsines3.m:3