moore penrose pseudo-inverse

Hi,

Does anyone know if it is possible (or if there exists some library/function) that is able to perform a pseudo-inverse operation using an arduino?

Thanks!

More information is needed,
exactly what is a pseudo-inverse operation
A link would help.

Ok I found this:-

I doubt if anything exists already to do this, but there is nothing to stop you coding it by hand.

Hi,

Basically it solves a matrix for B
where

A = BC
A is known and C is known
A
C(inv) = B

Here is a wikipedia

and the matlab function (with some better explanation)

Thanks

and a further question... does anyone have any idea as to whether an adruino could perform such an operation (say for a 20X20 matrix) within 15ms or so...

or a 20X20 matrix within 15ms or so...

I would say not a chance. Floating point operation is slow and having to handle complex numbers will make it even slower.
Just on gut feel I think it might take about 15 seconds to do a 20 X 20 matrix.

3 matrices of 20x20 == (UNO) out of memory ?

if the matrices are sparse there is a chance, consider at least a MEGA or a raspberry PI for performance..

and a further question... does anyone have any idea as to whether an adruino could perform such an operation (say for a 20X20 matrix) within 15ms or so...

Since it's your maths and your problem, how about figuring out how many floating
point calculations you need to do for your situation, then ask how fast an Arduino
can perform a floating point calculation.