From: Bruno Luong on
"Louis" <tanlouiss+matlab(a)gmail.com> wrote in message <hp7pvc$73j$1(a)fred.mathworks.com>...
> "Bruno Luong" <b.luong(a)fogale.findmycountry> wrote in message
> Thanks for the help. If I do it this way though, is there a simple way to evaluate the polynomial? (ie is there a multivariable version of polyval)

Not I'm aware of. It is not hard to write a general evaluator of multivariate polynomial. Writing a fast one is more challenging, and it seems it depends very much the structure of the polynomial and variables.

>
> Also in your script, I take it that every non zero element in abc represents a term. Is it possible to multiply each of these terms together?

Why not? But so far I can't see in which kind of application one want to multiply them.

Bruno