Jump to content

TI-BASIC -> Matlab


martymcfly

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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...