MATLAB  Laplace transform of 1 (MATLAB)

Click For Summary
To find the Laplace transform of the constant function 1 in MATLAB, the correct command is "laplace(sym(1))". Using "laplace(1)" results in an error due to MATLAB not recognizing the input as a symbolic expression. Additionally, there was a discussion about marking threads as solved, with some users noting they did not have the option to do so, leading to clarification that a moderator handled the thread status.
alexmahone
Messages
303
Reaction score
0
How do I find the Laplace transform of 1 using MATLAB?

>> laplace(1)
gives the error ? Undefined function or method 'laplace' for input arguments of type 'double'.
 
Last edited by a moderator:
Physics news on Phys.org
Re: Laplace transform of 1 (MATLAB)

I got it.

>> laplace(sym(1))
 
Re: Laplace transform of 1 (MATLAB)

How are you marking your threads as solved? When I go to thread tools, I don't have that option.
 
Re: Laplace transform of 1 (MATLAB)

dwsmith said:
How are you marking your threads as solved? When I go to thread tools, I don't have that option.

I didn't; I suppose a mod did it.
 
Re: Laplace transform of 1 (MATLAB)

Alexmahone said:
I didn't; I suppose a mod did it.

Ok.
 
Re: Laplace transform of 1 (MATLAB)

Alexmahone said:
I didn't; I suppose a mod did it.

That would be me.

CB
 

Similar threads

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