[Solved] Plot a three variables function over the specified domain in MATLAB [closed]


its still a little unclear as to what you’re trying to accomplish. Is this what you’re trying to do?:

x1=0.5:.01:1.6;
x2=280:0.453:330;
x3=-2.06:.0373:2.06;

V = x1.^2+x2.^2+x3.^2+3.*x1.*x3-x2.*x3-4.*x2.*x1;

subplot(3,1,1)
plot(V,x1)
subplot(3,1,2)
plot(V,x2)
subplot(3,1,3)
plot(V,x3)

3

solved Plot a three variables function over the specified domain in MATLAB [closed]