blob: 9705ff2eb1d06c4c94705177f5356fa1df5c169f (
plain)
1
2
3
4
5
6
7
8
9
10
|
//Scilab Code for Example 2.19 of Signals and systems by
//P.Ramakrishna Rao
clear;
clc;
syms t y;
s=%s;
y=laplace(exp(-t)-exp(2*t),t,s);
disp(y,"X(s)=");
y=(1/(s+1))-(1/(s-2));
plzr(y);
|