1 2 3 4 5 6
//Example 4.3 //Find DTFT of unit impluse clc; syms w n; x=1; X=symsum(x*exp(-%i*w*n),n,0,0);