JavaScript version

It is meant to be run with NodeJS (http://nodejs.org/download/) from the console (once installed, the full command is: node RBC_JS.js).

To satisfy my curiosity, I also created a HTML file to be able to launch it from JavaScript-enabled browsers. Surprisingly, some browsers are faster than NodeJS. However, if the user wanted to create a friendlier browser interface he or she would need to modify the JS code (and possibly add some CSS) in order show the results in the HTML DOM instead of the browser's console, which would add to both development and execution time.

From my own results, it runs over four times faster than Matlab on NodeJS and almost 13 times faster than Matlab when run on Firefox.