Post Reply 
HP35s simple query about stacks
10-08-2014, 07:03 PM
Post: #7
RE: HP35s simple query about stacks
(10-08-2014 03:43 PM)Kyburo Wrote:  Totally side question - I'm also soon to start working with MATLAB, I've picked up a somewhat dummies guide to it also as I've never used it but I was wondering if that also works in an RPN fashion or just ALG? If anyone knows Smile

There is no built-in RPN evaluation capability in MATLAB. It probably would not be too hard to write an RPN parser for MATLAB -- this kind of exercise used to be a common assignment in programming classes back when I was in school -- but it probably would require you to pass the RPN expression as a string to the parser, rather than have it evaluated directly on the MATLAB command line. So rather than simply entering an expression like "2 3 +" at the command line, you would need to define a parser function RPN() and then enter expressions in the manner of "RPN('2 3 +')".

John
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
HP35s simple query about stacks - Kyburo - 10-08-2014, 12:12 PM
RE: HP35s simple query about stacks - John R - 10-08-2014 07:03 PM



User(s) browsing this thread: 3 Guest(s)