Sign in
Register
Home
Projects
Help
Search
:
Paris Hackday Code
Overview
Members
Activity
Repository
Code docs
FFmpeg
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
Examples
File List
Globals
extra
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
x1
Definition:
genspecsines3.m:7
x3
x3
Definition:
genspecsines3.m:9
f2
f2
Definition:
genspecsines3.m:4
Y
Y
Definition:
genspecsines3.m:1
t
t
Definition:
genspecsines3.m:6
plot
plot(ifft(Y))
f3
f3
Definition:
genspecsines3.m:5
x2
x2
Definition:
genspecsines3.m:8
x
x
Definition:
genspecsines3.m:10
f1
f1
Definition:
genspecsines3.m:3
Generated on Mon Nov 18 2024 06:51:55 for FFmpeg by
1.8.11
Loading...