Just a quick check for an upcoming project - has anyone had any experience integrating a Matlab modules into Corona. Matlab can generate stand alone C code using Matlab Coder, but I just wanted to check wether anyone had had a play with this before? I hate pioneering stuff!
Hi.
I’ve never used Matlab myself, but I’ve certainly read code written in it. Golub and Van Loan lists all its code in it, for instance, and not terribly long ago I was porting some algorithms out of that. Maybe some of it would be useful.
My results basically comprise this matrix class and partially implemented linear algebra, signal processing, and DFT libraries. Alas, these are in varying stages of completeness, with style also being fairly inconsistent on account of working on them in bursts. (They take a terribly long time to write and equally long to test. I really don’t know if I’ll give them further attention. Lately I’ve been focusing on binding and hooking up a dedicated library instead.)
Basically, reading out of matrices looks the same. Lua doesn’t have lvalues, though, so assigning to them will be different; I ended up adding a Set() method.
If you look in TESTING.lua , TEMP.lua , and / or TEMP2.lua here, I make some use of matrices and the QR algorithms to solve some constraint problems and generate textures. Unfortunately, this was rather experimental code and the organization is atrocious, but there it is.
Hi.
I’ve never used Matlab myself, but I’ve certainly read code written in it. Golub and Van Loan lists all its code in it, for instance, and not terribly long ago I was porting some algorithms out of that. Maybe some of it would be useful.
My results basically comprise this matrix class and partially implemented linear algebra, signal processing, and DFT libraries. Alas, these are in varying stages of completeness, with style also being fairly inconsistent on account of working on them in bursts. (They take a terribly long time to write and equally long to test. I really don’t know if I’ll give them further attention. Lately I’ve been focusing on binding and hooking up a dedicated library instead.)
Basically, reading out of matrices looks the same. Lua doesn’t have lvalues, though, so assigning to them will be different; I ended up adding a Set() method.
If you look in TESTING.lua , TEMP.lua , and / or TEMP2.lua here, I make some use of matrices and the QR algorithms to solve some constraint problems and generate textures. Unfortunately, this was rather experimental code and the organization is atrocious, but there it is.