diff options
Diffstat (limited to '67/CH7/EX7.11.a')
-rwxr-xr-x | 67/CH7/EX7.11.a/example711a.sce | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/67/CH7/EX7.11.a/example711a.sce b/67/CH7/EX7.11.a/example711a.sce new file mode 100755 index 000000000..45927fe7c --- /dev/null +++ b/67/CH7/EX7.11.a/example711a.sce @@ -0,0 +1,10 @@ +//Example 7.11a
+//Z transform of (a^n)cos(Wo*n)
+clc;
+syms Wo n z a;
+x1=(a^n)*exp(sqrt(-1)*Wo*n);
+X1=symsum(x1*(z^-n),n,0,%inf);
+x2=(a^n)*exp(-sqrt(-1)*Wo*n);
+X2=symsum(x2*(z^-n),n,0,%inf);
+X=(X1+X2)/2;
+disp(X,'X(z)=');
\ No newline at end of file |