summaryrefslogtreecommitdiff
path: root/Working_Examples/293/CH6/EX6.1/eg6_1.sce
blob: 193b6b7cbfe5b76cbf6c46072b47a805c456130e (plain)
1
2
3
4
5
6
function F = laplace(s, T1, T2)
    //pulse:
    // f = u(t - T1) - u(t - T2)
    F = integrate('exp(-s*t)','t',T1,T2); //laplace transform of the pulse 
endfunction