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