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
lab2_4.m
Go to the documentation of this file.
1
N
=1024;
2
t
= [0:1/44100:0.1-1/44100];
3
x1
=cos(2*pi*100*44100/1024*
t
);
4
x801
=
x1
(1:801);
5
xlength
=
length
(
x801
);
6
fftbuffer
=
zeros
(
N
, 1);
7
fftbuffer
(1:(
xlength
+1)/2) =
x801
((
xlength
+1)/2:
xlength
);
8
fftbuffer
(
N
-(
xlength
-1)/2+1:
N
) =
x801
(1: (
xlength
-1)/2);
9
plot
(unwrap(angle(
fftbuffer
,1024)));
fftbuffer
fftbuffer
Definition:
lab2_4.m:6
N
N
Definition:
lab2_4.m:1
zeros
N, 1 zeros()
x1
x1
Definition:
lab2_4.m:3
t
t
Definition:
lab2_4.m:2
x801
x801
Definition:
lab2_4.m:4
plot
plot(unwrap(angle(fftbuffer, 1024)))
length
const char int length
Definition:
avisynth_c.h:668
xlength
xlength
Definition:
lab2_4.m:5
Generated on Fri Dec 20 2024 06:56:02 for FFmpeg by
1.8.11
Loading...