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 /27/CH2/EX2.4.3/Example_2_4_3.sce | |
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 '27/CH2/EX2.4.3/Example_2_4_3.sce')
-rwxr-xr-x | 27/CH2/EX2.4.3/Example_2_4_3.sce | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/27/CH2/EX2.4.3/Example_2_4_3.sce b/27/CH2/EX2.4.3/Example_2_4_3.sce new file mode 100755 index 000000000..e4bbb966e --- /dev/null +++ b/27/CH2/EX2.4.3/Example_2_4_3.sce @@ -0,0 +1,41 @@ +//Example 2.4.3 Page 25
+//Non-Linear Dynamics and Chaos, First Indian Edition Print 2007
+//Steven H. Strogatz
+
+clear;
+clc;
+close;
+set(gca(),"auto_clear","off") //hold on
+
+
+for x = -5:0.5:5
+ f1 = -(x^3);
+ subplot(221)
+ plot2d(x,f1,style=-2)
+ plot2d(0,0,style=-4)
+ set(gca(),"grid",[2,5])
+ xtitle("Bifurcation-Diagram","x-Axis(x)","y-Axis (x(dot))")
+
+ f2 = x^3;
+ subplot(222)
+ plot2d(x,f2,style=-2)
+ plot2d(0,0,style=-3)
+ set(gca(),"grid",[2,5])
+ xtitle("Bifurcation-Diagram","x-Axis(x)","y-Axis (x(dot))")
+
+ f3 = x^2;
+ subplot(223)
+ plot2d(x,f3,style=-2)
+ plot2d(0,0,style=-5)
+ set(gca(),"grid",[2,5])
+ xtitle("Bifurcation-Diagram","x-Axis(x)","y-Axis (x(dot))")
+
+ f4 = 0;
+ subplot(224)
+ plot2d(x,f4,style=-2)
+ set(gca(),"grid",[2,5])
+ xtitle("Bifurcation-Diagram","x-Axis(x)","y-Axis (x(dot))")
+
+end
+//set(gca(),"grid",[2,5])
+//xtitle("Logistic Map","x-Axis(N)","y-Axis (N(dot))")
\ No newline at end of file |