Compute linear algebra equations in arduino.


Has anyone coded complicated matrix equations in arduino? Like for example, X_hat_1=X_hat+ AX+BU+L(Y-CX), where all the variables are matrices. Is there some way i could code this the way I do in Matlab? I'm using arduino dumilanalov. Any help would be greatly appreciated.

Nothing magical about C coding, of Matrix arithmetic, you can find sources of C library code for of Matrix algebra on net, maybe you can utilizes some of the code in these to simplify the implementation in C of your equations

Happy coding 8) 8)

The Duemilanove only has 2kB of flash so the matrices aren't going to be big ones. I presume they'll also be floating point, in which case they are 32-bits (the Due doesn't do 64-bit doubles).