What is the output of the following code? [code][r,p,k]=residu(z,p);….. Assuming z and p are vectors of unequal length[/code]

What is the output of the following code?
Code:
[r,p,k]=residu(z,p);….. Assuming z and p are vectors of unequal length
A. Returns the transfer function as partial fractions
B. Returns the transfer function variable
C. Returns an error
D. Cannot be determined
 
Answer: c
Explanation: The function is wrongly spelled, it should be residue and this leads to an error. The output would’ve been returns the transfer function as partial fractions if the function was correctly spelled.
 

Tìm kiếm

Back
Top