Community Tip - Want the oppurtunity to discuss enhancements to PTC products? Join a working group! X
I'm using MathCad to create a set of linear equations. Everything works as intended as long as I use integer values for some of the elements, but as soon as I change these values to nonintegers I get a "This value must be an Matrix error." I'm sure that I am missing something obvious. The revelant portion of the worksheet is attached below. Thanks in advance.
Solved! Go to Solution.
It is because you are using the symbol "pi", which is a built in constant. When you enter a floating point number the symbolic processor tries to do a floating point evaluation of the entire expression, which means it tries to evaluate pi[n for each n. That of course is not possible, because pi is not a vector of numbers. Change "pi" to something else.
It is because you are using the symbol "pi", which is a built in constant. When you enter a floating point number the symbolic processor tries to do a floating point evaluation of the entire expression, which means it tries to evaluate pi[n for each n. That of course is not possible, because pi is not a vector of numbers. Change "pi" to something else.
That seem embarrassingly obvious. Thanks for the help!