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

1 view (last 30 days)
I want to graph a system of equations of 3x3 in dimensions, that in the graph the interception of the 3 planes is observed

Accepted Answer

Erwin Avendaño
Erwin Avendaño on 3 Nov 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

More Answers (0)

Categories

Find more on Graph and Network Algorithms in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!