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 =]

回答 (1 件)

Azzi Abdelmalek
Azzi Abdelmalek 2013 年 5 月 25 日

0 投票

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

1 件のコメント

Azzi Abdelmalek
Azzi Abdelmalek 2013 年 5 月 25 日
編集済み: Azzi Abdelmalek 2013 年 5 月 25 日
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);

サインインしてコメントする。

カテゴリ

製品

質問済み:

2013 年 5 月 25 日

Community Treasure Hunt

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

Start Hunting!

Translated by