Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

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.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top