MATLAB  Laplace transform of 1 (MATLAB)

AI Thread 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
 
Back
Top