MATLAB: How to plot an equation of this form

plotting

Hi,
How would I go about plotting an equation of the form b1 + b2x1 + b3x2 = d? The values of b1, b2, b3, and d are given. Let's just give them arbitrary numbers for now.

Best Answer

b1 = rand ;
b2 = rand ;
b3 = rand ;
d = rand ;
%%option 1
syms x1 x2
f(x1,x2) = b1 + b2*x1 + b3*x2-d ;
ezplot(f)