Finding inverse Laplace when the inverse Laplace function is a piecewise function
    8 views (last 30 days)
  
       Show older comments
    
    Aleem Andrew
 on 4 Mar 2021
  
    
    
    
    
    Answered: Walter Roberson
      
      
 on 5 Mar 2021
            I wrote the following Matlab program to find x in the time domain.
syms y(t) m k x c w F s
eqn = s^2*x-s+2*s*x-2+2*x == exp(-pi*s); 
x = ilaplace(solve(eqn,x),s); x = simplify(x) 
The output is
x =
exp(-s)*(cos(s) + sin(s) - exp(pi)*sin(s)*heaviside(s - pi))
Matlab failed to find the inverse Laplace in the time domain because x(t) is a piecewise function. Can someone explain how the correct value of x in the time domain can be found?
0 Comments
Accepted Answer
More Answers (0)
See Also
Categories
				Find more on Calculus in Help Center and File Exchange
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
