Level set in Matlab
4 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Hello everyone
I need to find the function f within x^2+y^2<=100 and the tangential plane at point (4,2,f(4,2)), for 2<=x<=6, 0<=y<=4.
the commend sounds like this:
figure(2); mesh(x,y,z);
axis([-10 10 -10 10 -10 10]); hold on;
[xt,yt]=meshgrid(2:0.2:6,0:0.2:4);
zt=6-1.4*(xt-4)-0.2*(yt-2);
surf(xt,yt,zt,ones(size(xt))*200);
view(42.5,42); xlabel('x'); ylabel('y'); zlabel('z');
what I don't understand is where "zt=6-1.4*(xt-4)-0.2*(yt-2)" comes from...would be thankful for any hint
Edit: thank you for mentioning. done.
1 comentario
Jan
el 9 de Mayo de 2012
Please format the code as explained in the "Markup help" link.
@TMW: Please make the formatting of code more obvious in the input dialog of this forum.
Respuestas (0)
Ver también
Categorías
Más información sobre Audio and Video Data en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!