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!