Jump to content
Sign in to follow this  
martymcfly

TI-BASIC -> Matlab

Recommended Posts

Hey, guys. I just decided to pop in. I need to build a program for a school project, and I am by far more comfortable in TI-BASIC than in any other language. Would it be possible for somebody to convert this program into a Matlab script.

 

Some definitions: rs and rss are 2x52 matrices, rscc is a 1x2 matrix, rsh is a 52x1 matrix, and rsp, rsf, rshc, rsd, and rsturns are integer variables.

 

Here's the program. Thanks a lot!

 

rat()

Prgm

1

Share this post


Link to post
Share on other sites

Sorry, I don't have time to step through that, but Matlab uses a pretty simple language. It's very similar to C/C++. You can do all the if/else/elseif/for/while stuff like any other language. If you aren't sure about the syntax for a command, just type "help ----". A nice thing with matlab is you don't need to declare variables. Just use them.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×