4 ms·
I find that I'm more productive prototyping algorithms in Matlab than in Python. In fact, I tend to write it first in Matlab, port it to Python, and finally por
by rct42 8y ago
I find that I'm more productive prototyping algorithms in Matlab than in Python. In fact, I tend to write it first in Matlab, port it to Python, and finally port it to C (to run on an embedded device)!
As for Octave, I've used it a couple times in the past but found the environment underwhelming (especially so when creating plots). I also tend to run into various compatibility problems when running scripts developed in Matlab.
- grwilliams 8y agoI've used Octave and the Python stack and I can confirm that it is much easier to focus on the problem at hand using Octave. One can focus on the math and algorithms and not the language. It is the same for me with R vs. the Python equivalents. So your strategy of designing in Matlab and porting later (if necessary) makes a lot of sense.
- 4thaccount 8y agoEver try MicroPython for embedding?
- rct42 8y agoI haven't used MicroPython and suspect it wouldn't suit my use case. I often have to design things that run on battery power (sometimes a CR2025) and so the firmware needs to be quite lean. Also most of the time is typically spent interfacing to hardware and peripherals so using something other than C wouldn't make sense.
- 4thaccount 8y agoGotcha. At that level I guess your only options are Assembly, C, or FORTH.