Borrar filtros
Borrar filtros

Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

Draw 3D object. code this in 2016a version.help!

1 visualización (últimos 30 días)
tran nguyen
tran nguyen el 20 de Nov. de 2018
Cerrada: Cris LaPierre el 2 de Dic. de 2022
z=1-x^2,z=0,y=0,y=3

Respuestas (2)

madhan ravi
madhan ravi el 22 de Dic. de 2018
[x y] = meshgrid(-1:0.1:1); % Generate x and y data
z = 1-x.^2; % Generate z data
surf(x, y, z) % Plot the surface
hold on
[x y] = meshgrid(-1:0.1:1);
z = zeros(size(x, 1));
surf(x, y, z)
[x z] = meshgrid(-1:0.1:1);
y = zeros(size(x, 1));
surf(x, y, z)
[x z] = meshgrid(-1:0.1:1);
y = 3*ones(size(x, 1));
surf(x, y, z)
xlabel('x')
ylabel('y')
zlabel('z')

Carlos Guerrero García
Carlos Guerrero García el 2 de Dic. de 2022

La pregunta está cerrada.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by