diff options
Diffstat (limited to '1499/CH2/EX2.9.a')
-rw-r--r-- | 1499/CH2/EX2.9.a/q9_step.jpeg | bin | 0 -> 78394 bytes | |||
-rw-r--r-- | 1499/CH2/EX2.9.a/q9_step.sce | 18 |
2 files changed, 18 insertions, 0 deletions
diff --git a/1499/CH2/EX2.9.a/q9_step.jpeg b/1499/CH2/EX2.9.a/q9_step.jpeg Binary files differnew file mode 100644 index 000000000..ad007dc6a --- /dev/null +++ b/1499/CH2/EX2.9.a/q9_step.jpeg diff --git a/1499/CH2/EX2.9.a/q9_step.sce b/1499/CH2/EX2.9.a/q9_step.sce new file mode 100644 index 000000000..cd7d71c6f --- /dev/null +++ b/1499/CH2/EX2.9.a/q9_step.sce @@ -0,0 +1,18 @@ +
+
+s=%s; // first create a variable
+Wn=%Wn;
+Wd=%Wd;
+
+
+num=2*s+1;
+den=s^2;
+TF=syslin('c',num,den)
+
+
+
+t=linspace(0,5,500);
+step_res=csim('step',t,TF);
+plot(t,step_res)
+xgrid()
+xtitle('Step response','time','response');
|