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 /842/CH1/EX01.13 | |
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 '842/CH1/EX01.13')
-rwxr-xr-x | 842/CH1/EX01.13/Example01_13b.sce | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/842/CH1/EX01.13/Example01_13b.sce b/842/CH1/EX01.13/Example01_13b.sce new file mode 100755 index 000000000..846653d10 --- /dev/null +++ b/842/CH1/EX01.13/Example01_13b.sce @@ -0,0 +1,21 @@ +//clear//
+//Example 1.13(b):Determination of stability of a given system
+//Page 50
+//given system y(t) = exp(x(t))
+clear;
+clc;
+Maximum_Limit = 10;
+S = 0;
+for t = 0:Maximum_Limit-1
+ x(t+1)= -2^t; //Input some bounded value
+ S = S+exp(x(t+1));
+end
+if (S >Maximum_Limit)
+ disp('Eventhough input is bounded output is unbounded')
+ disp('The given system is unstable');
+ disp('S =');
+ S
+ else
+ disp('The given system is stable');
+ disp(S);
+end
|