Matlab ilaplace command questions

  • #1

Main Question or Discussion Point

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.
 

Answers and Replies

  • #2
I think you must have mistakenly typed it as >> ilaplace(1/s-1)
Thats why you got 1 - dirac(t).
 
  • #3
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!!
 

Related Threads on Matlab ilaplace command questions

Replies
4
Views
13K
  • Last Post
Replies
1
Views
586
  • Last Post
Replies
11
Views
1K
  • Last Post
Replies
4
Views
24K
  • Last Post
Replies
1
Views
3K
Replies
4
Views
789
  • Last Post
Replies
1
Views
2K
Replies
5
Views
704
Replies
1
Views
496
Replies
4
Views
264
Top