Error when plotting a graph

How can I plot these five functions? I already tried everything.
the d) I tried:
[x,y] = meshgrid(-2:.2:2, -2:.2:2); z = 8*log(x*y); surf(x,y,z);
but the graph is wrong.
Thank You =]

Respuestas (1)

Azzi Abdelmalek
Azzi Abdelmalek el 25 de Mayo de 2013

0 votos

[x,y] = meshgrid(0:.2:2, 0:.2:2);
z = 8*log(x.*y);
surf(x,y,z);

1 comentario

Azzi Abdelmalek
Azzi Abdelmalek el 25 de Mayo de 2013
Editada: Azzi Abdelmalek el 25 de Mayo de 2013
If you want to use a complex logarithme, use
[x,y] = meshgrid(-2:.2:2, -2:.2:2);
z = abs(8*log(x.*y));
surf(x,y,z);

Iniciar sesión para comentar.

Productos

Preguntada:

el 25 de Mayo de 2013

Community Treasure Hunt

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

Start Hunting!

Translated by