Impact-Site-Verification: dbe48ff9-4514-40fe-8cc0-70131430799e

Search This Blog

FAST FOURIER TRANSFORM in MATLAB

clc
n=0:3;
x_n=[1,1,2,3];
subplot(3,1,1);
stem(n,x_n);
N=4;
X_K=fft(x_n,N);
k=0:3;
subplot(3,1,2);
stem(k,abs(X_K));
subplot(3,1,3);
stem(k,angle(X_K));

No comments

Popular Posts

Followers