t = [0:1:20]
k = [0:0.1:20]
m = 70;
c = 0.25;
g = 9.81;
V = @(t) (g*m/c)^(1/2)*tanh((g*c/m)^(1/2)*t)
v = V(t)
F = @(t) (g*m/c)^(1/2)*tanh((g*c/m)^(1/2)*t)
y = F(t)
V = @(F) y + (g - c/m*(y.^2))*(1)
y = V(y)
F = @(k) (g*m/c)^(1/2)*tanh((g*c/m)^(1/2)*k)
z = F(k)
V = @(F) z + (g - c/m*(z.^2))*(0.1)
z = V(z)
plot(t,v,'b',t,y,'g',k,z,'r')
1,2 번째 그래프가 (0,0) 을 지날수 있게 t=0 값을 정의하고싶은데 어떻게 하면될까요 ,,,
댓글 달기