graph - Matlab 3D plot quadratic? -
how plot 3d graph of quadratic funciton. here code 2d plot there anyway adapt 3d code ?
z = (startv2:step:endv2); y = (a2.*(z.^2))+(b2.*z)+c2; plot(z,y); text(value1,0, ['x1 = ',num2str(value1),' ']); text(value2,0, ['x2 = ',num2str(value2)]); grid
these matlab functions might help:
or
or
depending on want show. matlab (click on functions above) has examples of them.
Comments
Post a Comment