The difficulty depends on how much of Matlab/Octave do you want in Java and your skill level as well. If you are adept at numerical algorithms (NA) this task shouldn’t take too long. If you’re not that confident with NA, some algorithms Matlab/Octave uses is still pretty basic (matrix operation, for one) that any programmer with reasonable skill should be able to cope with them.

When I wrote this, my team was unable to find any third-party code/library that might help so we did the port ourselves. Search around first, a lot could’ve changed since then. Finally, advice from my present self in attempting this task is, *write unit tests!* (My team had something akin to unit tests when we did this but nothing as formal as JUnit. Do use a unit test library!)

Good luck.

]]>I left a question on your article about matlab/octave differences. Hope you find it and can reply.

Joris

]]>What has your experience been with porting Matlab/Octave to Java? How easy/difficult was it, and did you use any porting libraries or code converters?

Joris

]]>I have read this article and enjoyed it

]]>