Conversion to double from sym is not possible ?

t=-1:0.001:1; a=1; syms t f=t laplace(f) plot(t,a)
trying to plot ramp function's laplace transform but we are getting an error like conversion to double from sym is not possible?

回答 (1 件)

madhan ravi
madhan ravi 2018 年 10 月 6 日
編集済み: madhan ravi 2018 年 10 月 6 日

0 投票

t=-1:0.001:1;
a=1;
plot(t,a*ones(1,numel(t)))
syms t
f=t
lap=laplace(f)
%figure() or hold on your wish here
fplot(lap)

カテゴリ

ヘルプ センター および File Exchange2-D and 3-D Plots についてさらに検索

質問済み:

2018 年 10 月 6 日

編集済み:

2018 年 10 月 6 日

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by