Community Tip - You can change your system assigned username to something more personal in your community settings. X
Good morning to all,
I have a matrix that works well in Mathcad 15 but provides wrong values in Prime 9.0.
I only converted the matrix from Mathcad 15 to Prime 9.0, which did not work well in Prime 9.0. Even though it does not mention any error in Prime 9.0, It simply does not provide the right matrix elements in Prime 9.0.
The files below Matrix Right (the one in Mathcad 15) and Matrix Wrong (the one in Prime 9.0) are the two files I am talking about.
Any help will be very much appreciated.
regards,
Rogelio
Solved! Go to Solution.
This apparently is a detail difference between Mathcad and Prime.
If you remove the
[i,j
from the definition of the Gat expression, both before the assigment
:=
and the one on the last line of the program, then you get the desired result.
(So here:
and here
)
Success!
Luc
This apparently is a detail difference between Mathcad and Prime.
If you remove the
[i,j
from the definition of the Gat expression, both before the assigment
:=
and the one on the last line of the program, then you get the desired result.
(So here:
and here
)
Success!
Luc
@MeekesLuc wrote:
This apparently is a detail difference between Mathcad and Prime.
In my opinion the behaviour in both versions is somewhat strange and not as it should be.
I would have expected a matrix with all elements being of the same value ...
Here are two examples where Mathcad returns a strange/wrong result, but Prime's result is exactly what i would expect:
Of course both also are examples of bad programming style, but using the same name for the worksheet variable and the local variable should not pose that problem.
Thanks, Werner,
I will be more careful in the future to ensure that I do not have a problem like you showed above.
Regards,
Rogelio
Mathcad 11 gives me this:
and
Success!
Luc
Yes!
It worked as soon as I removed the (j,i) as you mentioned.
Thanks,
Rogelio