Basic Formation of DFT | Matlab Programming

ryal(44)
Published in
#education
Words
34
Reading
1 min
Listen
Play
9y

Generates a sine signal x (t) = 3cos (2πt), at t = nT.Untuks n = 0 ~ 99, and T = 0.01.


.%dft1
%oleh :Syarial
n=0:199;
T=0.01;
x_t=3cos(2pinT);
plot(n,x_t)
grid;

Output



FOLLOW ME: ryal@ryal

Basic Formation of DFT | Matlab Programming | Ecency