Have a trouble while solving system of linear equations!
Show older comments
Hi everybody,
I have met a trouble while I try to solve system of linear equations by Matlab. I used LU decomposition algorithm to code a function to solve the system equations. In fact it worked well when I input data by my self. But when I use syms function in Matlab in my main program to name the variables, and use my own function to solve, it appeared an error, the solution is plenty of number and not correct anymore. I really don't understand that problem likes this

So would you please help me to solve this problem?
Thanks in advanced
Accepted Answer
More Answers (1)
PHAM NGUYEN LINH KHANH
on 2 Apr 2014
0 votes
Categories
Find more on Common Operations in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!