What is the output of the following code? [code]>>p=ilaplace(s/s); >>laplace(p)[/code]

What is the output of the following code?
Code:
>>p=ilaplace(s/s);
>>laplace(p)
A. dirac(1,t)
B. dirac[1,t]
C. dirac{1,t}
D. Cannot be determined
 
Answer: a
Explanation: The ilaplace command observes that the input is actually 1. The inverse laplace transform of 1 is the impulse function which is represented as dirac(1,t) in MATLAB.
 

Tìm kiếm

Back
Top