In the following link:
http://www.mathworks.com/access/helpdesk/help/toolbox/symbolic/ch16.html
I got the suggestions that
"Note To substitute a matrix A into the symbolic expression f, use the
command polyvalm(sym2poly(f), A), which replaces all occurrences of x by A,
and replaces the constant term of f with the constant times an identity
matrix."
My question is: when the function f is NOT a polynormial, I will get the
following error message:
??? Error using ==> sym.sym2poly
Not a polynomial.
Can you plz give some suggestions to address this?Thank you very much.
--
Yan ZHANG
http://yanzhang.shorturl.com/
|
|
0
|
|
|
|
Reply
|
buaanupt (78)
|
12/10/2004 10:03:27 AM |
|
In the following link:
http://www.mathworks.com/access/helpdesk/help/toolbox/symbolic/ch16.html
I got the suggestions that
"Note To substitute a matrix A into the symbolic expression f, use the
command polyvalm(sym2poly(f), A), which replaces all occurrences of x by A,
and replaces the constant term of f with the constant times an identity
matrix."
My question is: when the function f is NOT a polynormial, I will get the
following error message:
??? Error using ==> sym.sym2poly
Not a polynomial.
Can you plz give some suggestions to address this?Thank you very much.
--
Yan ZHANG
http://yanzhang.shorturl.com/
|
|
0
|
|
|
|
Reply
|
buaanupt (78)
|
12/12/2004 12:05:33 PM
|
|