how to solve multi-equation with known and unkown variable in matlab
<p>I have 4 equations , and I know x and y and ans1 to ans4. but I want matlab solve these 4 equations and give me a,b,c,d. what should I do? </p>

<pre><code>  ans1 = I(x,y);
  ans2=I(x+1,y); 
  ans3=I(x,y+1);
  ans4=I(x+1,y+1);  

a*x+b*y+c*x*y+d==ans1
a*(x+1)+b*y+c*(x+1)*y+d==ans2
a*x+b(y+1)+c*x*(y+1)+d==ans3
a*(x+1)+b*(y+1)+c*(x+1)*(y+1)+d==ans4
</code></pre>