An octave/MATLAB script to show the relation

From Class Wiki
Jump to navigation Jump to search

This MATLAB/octave script is a check for the idea that .

close all;
T=.01;
t=-10:T:10;
f=t;
[ff,tt]=meshgrid(f,t);
r=exp(j*2*pi.*ff.*tt);
delta=trapz(r)*T;
plot(t,delta);
one1=T*trapz(delta)