From: Don Robison on
Hello my name is Don Robison. I am having a problem with the way matlab evaluates expressions. It seems if I put a polynomial on the command prompt and I have declared the variables to be matrices the evaluation will be fine, but if I declare the polynomial to be a symbol then try to evaluate the symbolic expression instead of a literal they are not the same thing.

Is there something other than eval I should be using to plug the matrices into the symbolic expression? eval seems to not be evaluating the exponent of the matrix.
From: us on
Don Robison <joe_blow_281(a)hotmail.com> wrote in message <1111757053.455267.1269716876794.JavaMail.root(a)gallium.mathforum.org>...
> Hello my name is Don Robison. I am having a problem with the way matlab evaluates expressions. It seems if I put a polynomial on the command prompt and I have declared the variables to be matrices the evaluation will be fine, but if I declare the polynomial to be a symbol then try to evaluate the symbolic expression instead of a literal they are not the same thing.
>
> Is there something other than eval I should be using to plug the matrices into the symbolic expression? eval seems to not be evaluating the exponent of the matrix.

CSSM needs to see the code...

us