Jun 16, 2012 #1 M mohamad.momeny Newbie level 4 Joined Mar 13, 2012 Messages 6 Helped 2 Reputation 4 Reaction score 2 Trophy points 1,283 Activity points 1,312 I need to: convert Following matlab code to visual basic 2010 code. matlab code: t = [t,(t0+dt1:dt1:t1)] nt = length(t) x(it0+1:nt) = x0 + vx*(t(it0+1:nt)-t0) y(it0+1:nt) = y0 + vy*(t(it0+1:nt)-t0) - 0.5*g*(t(it0+1:nt)-t0).^2
I need to: convert Following matlab code to visual basic 2010 code. matlab code: t = [t,(t0+dt1:dt1:t1)] nt = length(t) x(it0+1:nt) = x0 + vx*(t(it0+1:nt)-t0) y(it0+1:nt) = y0 + vy*(t(it0+1:nt)-t0) - 0.5*g*(t(it0+1:nt)-t0).^2