Matlab ilaplace command questions

  • Context: MATLAB 
  • Thread starter Thread starter bassplayer142
  • Start date Start date
  • Tags Tags
    Matlab
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
2 replies · 5K views
bassplayer142
Messages
431
Reaction score
0
I am using the ilaplace command from MATLAB and it keeps spitting out the dirac delta function. I typed the exact command in the MATLAB help section and it still gives me this. for example I type in this...

ilaplace(1/(s-1))

and I get this...

1 - dirac(t)

below is a copy of MATLAB help file that has this exact command with the result I'm after.

Examples:
syms s t w x y
ilaplace(1/(s-1)) returns exp(t)

Any help would be great. I'm thinking it is some format command or something beforehand.
 
Physics news on Phys.org
I think you must have mistakenly typed it as >> ilaplace(1/s-1)
Thats why you got 1 - dirac(t).
 
matematikawan said:
I think you must have mistakenly typed it as >> ilaplace(1/s-1)
Thats why you got 1 - dirac(t).

I'm not quite sure what you mean? Sorry for the much delayed response.

EDIT: AHH I see what your saying now with the parentases!