Borrar filtros
Borrar filtros

Graphing a system of equations on the same set of axes in 3d? please

1 visualización (últimos 30 días)
I want to graph a system of equations of 3x3 in dimensions, that in the graph the interception of the 3 planes is observed

Respuesta aceptada

Erwin Avendaño
Erwin Avendaño el 3 de Nov. de 2017
[x, y] = meshgrid(linspace(-10, 10)); % Calculate the two surfaces z1 =(3*x+8*y)/2; z2=(6*x+2*y)/8; z3=9*x+4*y; % Visualize the two surfaces surface(x, y, z1, 'FaceColor', [0.5 1.0 0.5], 'EdgeColor', 'none'); surface(x, y, z2, 'FaceColor', [1.0 0.5 0.0], 'EdgeColor', 'none'); surface(x, y, z3, 'FaceColor', [0.5 0.5 0.5], 'EdgeColor', 'none'); view(3); camlight; axis vis3d

Más respuestas (0)

Categorías

Más información sobre 2-D and 3-D Plots en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by