creating polynomial to matix
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
hello, I am new to matlab. I would like to change polynomial z=c1+c2*x+c3*x^2+c4*y+c5*y^2+c6*x*y+c7*x*y^2+c8*x*y+c9*x^2*y*2
to matrix. I have a problem with matrix A to get sum of x,y into A.
for i=1:9
syms x,y
A(i,1)=1;
.
.
A(i,9)=x(i)^2*y(i)^2;
end
Thank you for your time.
0 commentaires
Voir également
Catégories
En savoir plus sur Polynomials dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!