Plotting messy functions with fplot
显示 更早的评论
I'm trying to plot the function v(t) below, but to no avail. My computer just gets stuck on the plot line of code. What can I do to plot this?
if true
k = 13.84*10^3;
m0 = 2.85*10^6;
vex = 34*10^6;
beta = 1.6 * 10.^-4;
d = 10;
b = beta * d;
c = .75 * d^2;
syms t v(t)
m = -k*t;
v(t) = symfun(sqrt(c * vex) / sqrt(c) * (((1 + (k*t/m0)^(2*sqrt(c*vex)/sqrt(k))))/(1 - (k*t/m0)^(2*sqrt(c*vex)/sqrt(k)))),t)
fplot(v)
end
回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Surface and Mesh Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!