필터 지우기
필터 지우기

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

조회 수: 1 (최근 30일)
I want to graph a system of equations of 3x3 in dimensions, that in the graph the interception of the 3 planes is observed

채택된 답변

Erwin Avendaño
Erwin Avendaño 2017년 11월 3일
[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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by