Advertisement
Guest User

Untitled

a guest
Apr 23rd, 2019
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1.  
  2. [y1,t1] = rk4([1+dh(1),0,0,0]', 5, dh(1));
  3. [y2,t2] = rk4([1+dh(2),0,0,0]', 5, dh(2));
  4. [minpos1,p1] = interpolation(y1,t1);
  5. [minpos2,p2] = interpolation(y2,t2);
  6. sekh = sekantmetoden(dh,minpos2(2),minpos1(2));
  7. dh = sekh;
  8. [y,t] = rk4([1+dh(end),0,0,0]', 5, dh(end));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement