summaryrefslogtreecommitdiff
path: root/2279/CH3/EX3.18/Ex3_18.sce
diff options
context:
space:
mode:
Diffstat (limited to '2279/CH3/EX3.18/Ex3_18.sce')
-rw-r--r--2279/CH3/EX3.18/Ex3_18.sce14
1 files changed, 14 insertions, 0 deletions
diff --git a/2279/CH3/EX3.18/Ex3_18.sce b/2279/CH3/EX3.18/Ex3_18.sce
new file mode 100644
index 000000000..ea9b05583
--- /dev/null
+++ b/2279/CH3/EX3.18/Ex3_18.sce
@@ -0,0 +1,14 @@
+//Example 3.18
+clc
+clear
+t=0:0.01:10;
+for i=1:length(t)
+ x(i)=sin(i);
+ y(i)=2*x(i);
+ z(i)=0.5*y(i);
+end
+if (x==z) then
+ disp("The given system is invertible");
+else
+ disp("the Given system is non-invertible");
+end