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)

질문:

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