HP Forums

Full Version: MATLAB on Raspberry Pi 2, BeagleBone Black, ios, and Python
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Undecided MatLab followed the steps of MATHEMATICA

0: raspberry-π
http://www.mathworks.com/hardware-suppor...atlab.html

1: beaglebone
http://www.mathworks.com/hardware-suppor...atlab.html

[Image: 99786_wm_beaglebone-black-support-matlab-main.jpg]

2: i-OS
http://www.mathworks.com/hardware-suppor...ensor.html

I wish xCAS built-in on raspberry-π as mathematica (pre-installed in the current Raspbian-os image)

--------------------------------------------
3: GETTING STARTED WITH MATHEMATICA
https://www.raspberrypi.org/learning/get...thematica/
(12-05-2015 05:03 PM)compsystems Wrote: [ -> ]0: raspberry-π
http://www.mathworks.com/hardware-suppor...atlab.html

It sounded very interesting to me, but when I followed the link, I found this little piece of text: "Note that you cannot run MATLAB code as a standalone application on a Raspberry Pi."

Recently, one of my amateur astronomer buddies sent me a page of code he had written for Matlab. When I wanted to try it out for myself, I discovered that a Matlab license for a mere mortal like myself (no school/university connection) costs 2000 Euros. No Matlab for me then, whatever the platform might be...

Max
(12-05-2015 08:13 PM)Maximilian Hohmann Wrote: [ -> ]
(12-05-2015 05:03 PM)compsystems Wrote: [ -> ]0: raspberry-π
http://www.mathworks.com/hardware-suppor...atlab.html

It sounded very interesting to me, but when I followed the link, I found this little piece of text: "Note that you cannot run MATLAB code as a standalone application on a Raspberry Pi."

Recently, one of my amateur astronomer buddies sent me a page of code he had written for Matlab. When I wanted to try it out for myself, I discovered that a Matlab license for a mere mortal like myself (no school/university connection) costs 2000 Euros. No Matlab for me then, whatever the platform might be...

Max
Yep, Matlab is far from free or even cheap.. GNU Octave is free and is Matlab compatible in many ways, but I have never used it. IIRC there were some French goverment supprted Python related program also (might been Octave can't honestly recal atm.), which had Simulink a like interface.'

EDIT: SciLab is the software I were after. https://en.wikipedia.org/wiki/Scilab
(12-05-2015 10:56 PM)Vtile Wrote: [ -> ]EDIT: SciLab is the software I were after.
Used it in 2000/2001. There were only two or three documented differences from the Matlab language. Highly recommended!
Hello!

Thank you very much for the hint towards "Scilab". I had never heard of that! It ran instantly on my Macintosh without any configuration (seems to be written in Java) and could compute the Matlab code my colleague sent me.
This is the download link: http://www.scilab.org/

Best regards,
Max
math-processor is open source and is inspired in matlab

http://mathiversity.com/math-processor/d...-functions

Code:
fibonacci = function (return, times, twoNumbersBack, oneNumberBack) 
{     
    if (times == 1) { return = twoNumbersBack;:} 
    elseif (times == 2) { return = oneNumberBack;:} 
    elseif (times == 3) { return = oneNumberBack + twoNumbersBack;: }
    elseif (times >= 0)
    {
        return = fibonacci(times - 1, oneNumberBack, oneNumberBack + twoNumbersBack);:
    }
    else 
    {
        echo("Error: Bad input."):
        return = -1;:
    }
}
Reference URL's