Gistlib Logo

gistlib

function plane that calculates the equation for a plane using the following formula: ax+ by + c = z in matlab

main.m
function z = calculate_plane_equation(a, b, c, x, y)
    z = a*x + b*y + c;
end
80 chars
4 lines

similar matlab code snippets

how to calculate the area of a square in matlab
how to calculate the area of a triangle in matlab
how to calculate the area of a polygon in matlab
how to calculate the area of a parallelogram in matlab
calculate the area of a sphere in matlab
how to calculate the area of a trapezoid in matlab
how to calculate the area of a segment in matlab
how to calculate the area of a sector in matlab
calculate the area of a triangle in matlab
calculate the volume of a pyramid in matlab

related categories

matlab
geometry

gistlibby LogSnag