What is the output of the following code? [code]ztrans([1,2,3 4*z],z)[/code]

What is the output of the following code?
Code:
ztrans([1,2,3 4*z],z)
A. [ z/(z – 1), (2*z)/(z – 1), (3*z)/(z – 1), (4*z)/(z – 1)$^{2}$]
B. [ z/(z + 1), (2*z)/(z + 1), (3*z)/(z + 1), (4*z)/(z – 1)$^{2}$]
C. [ z/(z – 1), (2*z)/(z – 1), (3*z)/(z – 1), (4*z)/(z + 1)$^{2}$]
D. [ z/(z – 1), (2*z)/(z – 1), (3*z)/(z – 1) (4*z)/(z – 1)$^{2}$]
 
Answer: a
Explanation: The ztrans command computes the Z-transform of every element. In doing so, the output it returns are separated by commas.
Output: [ z/(z – 1), (2*z)/(z – 1), (3*z)/(z – 1), (4*z)/(z – 1)$^{2}$]
 

Tìm kiếm

Back
Top