F1 =
Issue with Laplace Transform for Exponential Functions in MATLAB
이전 댓글 표시
Hello everyone,
I'm encountering an issue while trying to compute the Laplace transform of exponential functions in MATLAB using the laplace command. Specifically, when I input an exponential function directly (e.g., f = 2^(-t)), the command does not return a meaningful result. However, if I rewrite the exponential function using the exp function (e.g., exp(-log(2)*t)), the Laplace transform works as expected.
Could someone explain why this discrepancy occurs? Is there a specific syntax or method I should follow to ensure that MATLAB computes the Laplace transform of exponential functions directly, without needing to use exp?
Interestingly, if f = exp(1)^(-t), the laplace command does not work either.
syms t real
f1 = 2^(-t);
f2 = exp(-log(2)*t);
f3 = exp(1)^(-t);
f4 = exp(-t);
F1 = laplace(f1)
F2 = laplace(f2)
F3 = laplace(f3)
F4 = laplace(f4)
I've found some discussion online about this issue, but it wasn't particularly helpful. Here's the link to what I found: MathWorks Discussion.
Thanks in advance for your help!
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Assumptions에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!










