An octave/MATLAB script to show the relation

From Class Wiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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)