Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

solving b=Ax in C

Status
Not open for further replies.

damieninco

Electrical
Jul 18, 2003
3
Hi all,

I has two non-square matrices b and A. I want to solve the equation b=Ax for x without using the inverse of A (takes too long a time) and i don't want to have to have to divide either. Matlab does this nicely using the backslash. I want to implement the same routine in C but obviously I don't have the facility of the backslash. LU factorisation is a possibility but i think that would involve dividing matices, would it? how would I back/forward substitute?

thanks in advance,

Damien
 
Replies continue below

Recommended for you

Status
Not open for further replies.

Part and Inventory Search

Sponsor