summaryrefslogtreecommitdiff
path: root/1574/CH1/EX1.12/Signals_Ex_1_12.sce
blob: 4df1f6b505367fc3a1dbbf6022288ceaa3d98943 (plain)
1
2
3
4
5
6
7
8

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