Hello,
While debugging a DSP algorithm, I realized the problem is duo to the CMSIS matrix inverse function: arm_mat_inverse_f32. It's really strange and is driving me crazy. arm_mat_inverse_f32 returns the right result for some Matrices but wrong result for some other! I assure you the matrices are not singular or anything like this, the algorithm works just fine with the same input data on MATLAB. I have no idea what the problem could be, any suggestions?
Regards
That's what I thought at first, but it doesn't even matter, since I tried multiplying the inverse matrix to the original using "arm_mat_mult_f32" function. Again only the first set of data results in Identity matrix! Any matrix multiplied by it's inverse should result the Identity matrix.