clc //Chapter 1 //Ex1.12, page no 43 //Given mprintf('The given function is:\n sgn(t)=1 (for t>0\n =-1 (for t<0)\n')// displaying the given function disp('sgn(t)=2u(t)-1') disp('the fourier transform can be given as:'),disp(' F[sgn[(t)]= 2/j*w')// displaying the fourier Transform of the given function