File Exchange Pick of the Week

Our best user submissions

Using Java in MATLAB

This week’s pick by Michael Kleder uses Java to determine if a number is prime. I liked this because it quietly makes use of Java. I rarely get a chance to program in Java, so when I saw this I took note of it as somewhere to start if I ever need to use Java inside of MATLAB.

The fact that this helps determine primes would have been useful a while back when I was intrigued with one of Google’s Math Puzzles. And yes, it is just a coincidence that my last post also ended up linking to a site looking for resumes. You can of course just Google for the answer to their own riddle, that is even easier than writing code!

|

Comments

To leave a comment, please click here to sign in to your MathWorks Account or create a new one.