Conversion to double from sym is not possible ?
Show older comments
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?
Answers (1)
madhan ravi
on 6 Oct 2018
Edited: madhan ravi
on 6 Oct 2018
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)
Categories
Find more on 2-D and 3-D Plots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!