Function solve doesn't work corrctly

asked 2014-06-05 09:36:45 -0500

updated 2014-06-05 10:13:51 -0500

kbarni gravatar image

Dear users, I have a problem with function solve.

I have a system and I want resolve it by formula Ax=b. I generate correctly A and b matrix, and I call function

solve(A,b,solution,DECOMP_LU);

the solution is completly wrong. I try resolve the system using matlab and the solution is different.

I ask you...why does the function "solve" not work?

edit retag flag offensive close merge delete

Comments

1

Give an example input if possible.

Moster gravatar imageMoster ( 2014-06-05 13:11:05 -0500 )edit