diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /692/CH2/EX2.32 | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '692/CH2/EX2.32')
-rwxr-xr-x | 692/CH2/EX2.32/P2_32.sce | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/692/CH2/EX2.32/P2_32.sce b/692/CH2/EX2.32/P2_32.sce new file mode 100755 index 000000000..1328e312c --- /dev/null +++ b/692/CH2/EX2.32/P2_32.sce @@ -0,0 +1,21 @@ +//EXAMPLE2.32 Stability for anti-Causal system. +//h[i]=impulse response of LTI system. +clear; +clc; +n= -5:1/1000:5; +a=5; +for i=1:length(n) + if (n(i)>-1) + h(i)=0; + else + h(i)=a^n(i); + S=sum(h); + end +end + +if(S<%inf) + disp('BIBO stable system'); +else + disp('BIBO unstable system'); + +end |