evaluating polynomials on given data

Hi I have code
x=[1:5;1:5];
y=x'
V1=x1+x2+1
V2=x1+x2x1+x2-8
for i=1:5;
M=subs(V1,[x1 x2],[y(i,1) y(i,2)])
end
I got values step by step how I can form a matrix by these values in this code . how I evaluate both polynomial same time and I can get matrix of answer and values must comes in points not in fraction
please help

回答 (0 件)

この質問は閉じられています。

質問済み:

2016 年 8 月 9 日

閉鎖済み:

2021 年 8 月 20 日

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by