summaryrefslogtreecommitdiff
path: root/2279/CH1/EX1.1/Ex1_1.sce
diff options
context:
space:
mode:
Diffstat (limited to '2279/CH1/EX1.1/Ex1_1.sce')
-rw-r--r--2279/CH1/EX1.1/Ex1_1.sce10
1 files changed, 10 insertions, 0 deletions
diff --git a/2279/CH1/EX1.1/Ex1_1.sce b/2279/CH1/EX1.1/Ex1_1.sce
new file mode 100644
index 000000000..1157511fd
--- /dev/null
+++ b/2279/CH1/EX1.1/Ex1_1.sce
@@ -0,0 +1,10 @@
+clf
+clc
+clear
+t=[-20:0.01:20];
+for i=1:length(t)
+ x(i)=2;
+end
+plot(t,x);
+xtitle("x(t)=2 for all t","time","amplitude");
+xgrid(5)