Matlab ilaplace command questions

  • Context: MATLAB 
  • Thread starter Thread starter bassplayer142
  • Start date Start date
  • Tags Tags
    Matlab
Click For Summary
SUMMARY

The discussion centers on the use of the ilaplace command in MATLAB, specifically the issue of receiving an unexpected output involving the Dirac delta function. The user reports that executing the command ilaplace(1/(s-1)) yields 1 - dirac(t) instead of the expected exp(t). The confusion arises from a potential syntax error, where the user may have inadvertently typed ilaplace(1/s-1). Correct usage requires proper parentheses to achieve the desired result.

PREREQUISITES
  • Familiarity with MATLAB syntax and commands
  • Understanding of Laplace transforms and their inverse
  • Knowledge of symbolic computation in MATLAB
  • Basic understanding of the Dirac delta function
NEXT STEPS
  • Review MATLAB documentation on the ilaplace function
  • Practice using symbolic variables in MATLAB with syms
  • Explore examples of Laplace transforms in MATLAB
  • Learn about the implications of the Dirac delta function in signal processing
USEFUL FOR

This discussion is beneficial for MATLAB users, particularly those working with symbolic mathematics, engineers dealing with Laplace transforms, and students learning about inverse transforms in control systems.

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!
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
Replies
6
Views
4K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 5 ·
Replies
5
Views
3K