convert matlab code to visual basic code

Status
Not open for further replies.

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
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…