Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. X
Hello!
I have a system of equations with units. when I use lsolve, I get different answers (all incorrect) depending on the units used. however, the solve block works correctly. This is Prime 7. sheet attached.
Any ideas? maybe a bug in lsolve?
correct result:
Hi,
There is nothing wrong with lsolve().
lsolve() is being given different values to work on in each case like this.
Cheers
Terry
Obviously your system does not have a unique solution but more than one
No wonder as the determinant of Mx is very close to zero
The "correct" solution found with the solve block
but the solution found with lsolve seems to be OK as well
and