diff options
author | prashantsinalkar | 2018-02-03 10:59:42 +0530 |
---|---|---|
committer | prashantsinalkar | 2018-02-03 10:59:42 +0530 |
commit | d1e070fe2d77c8e7f6ba4b0c57b1b42e26349059 (patch) | |
tree | 612077a22c8142c0ae754ec11882a4e7d5dc25a4 /1340/CH4/EX4.1 | |
parent | f35ea80659b6a49d1bb2ce1d7d002583f3f40947 (diff) | |
download | Scilab-TBC-Uploads-d1e070fe2d77c8e7f6ba4b0c57b1b42e26349059.tar.gz Scilab-TBC-Uploads-d1e070fe2d77c8e7f6ba4b0c57b1b42e26349059.tar.bz2 Scilab-TBC-Uploads-d1e070fe2d77c8e7f6ba4b0c57b1b42e26349059.zip |
Modified the code
Diffstat (limited to '1340/CH4/EX4.1')
-rwxr-xr-x | 1340/CH4/EX4.1/4_1.sce | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/1340/CH4/EX4.1/4_1.sce b/1340/CH4/EX4.1/4_1.sce deleted file mode 100755 index 61cfa6c8e..000000000 --- a/1340/CH4/EX4.1/4_1.sce +++ /dev/null @@ -1,18 +0,0 @@ -clc;
-s = %s;
-num = poly([-3],'s','roots');
-den = poly([-2 -4 -5],'s','roots');
-G = num/den;
-disp(G,"G(s)=");
-disp(laplace(1,t,s),"input is a step function:");
-syms t ;
-printf("C(s)=G(s)*R(s)=");
-K = G/s;
-C = syslin('c',K);
-disp(C);
-[A] = pfss(C);l=0;disp(A);
-for k = 1:size(A)
- F(k)= ilaplace(A(k),s,t);
- l = l+F(k);
-end
-disp(l,"c(t)=");
\ No newline at end of file |