Skip to main content
1-Visitor
Jun 27, 2011 5:17 PM UTC
Solved

Symbolic error message "This value must be a matrix"

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.

RichardJAnswer
19-Tanzanite
Jun 27, 2011 6:00 PM UTC

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.

2 replies

RichardJ19-TanzaniteAnswer
19-Tanzanite
Jun 27, 2011 6:00 PM UTC

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.

Translate
belsherj1-VisitorAuthor
1-Visitor
Jun 27, 2011 6:03 PM UTC

That seem embarrassingly obvious. Thanks for the help!

Translate