From 8ac15bc5efafa2afc053c293152605b0e6ae60ff Mon Sep 17 00:00:00 2001 From: Siddharth Agarwal Date: Tue, 3 Sep 2019 18:27:40 +0530 Subject: Xcos examples from textbooks and for blocks --- Working_Examples/154/DEPENDENCIES/ch7_3.sce | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 Working_Examples/154/DEPENDENCIES/ch7_3.sce (limited to 'Working_Examples/154/DEPENDENCIES/ch7_3.sce') diff --git a/Working_Examples/154/DEPENDENCIES/ch7_3.sce b/Working_Examples/154/DEPENDENCIES/ch7_3.sce new file mode 100755 index 0000000..122832e --- /dev/null +++ b/Working_Examples/154/DEPENDENCIES/ch7_3.sce @@ -0,0 +1,12 @@ +clc +disp("Example 7.3") +printf("\n") + +t1=-10:0.05:10 +v=5*cos (%pi*t1/6+%pi/6) +figure +a= gca (); +plot(t1,v) +xtitle ('v vs %pi*t/6','%pi*t/6','v '); +a. thickness = 2; + -- cgit