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:

plot3

or

contour3

or

surf

depending on want show. matlab (click on functions above) has examples of them.


Comments

Popular posts from this blog

java - Cast from Object to List<String>: CastClassException -

How to set a border for android Imageview in Longpress? -

c# - Operator '==' incompatible with operand types 'Guid' and 'Guid' using DynamicExpression.ParseLambda<T, bool> -