PLease Help Code to graph specific ftc.

1 次查看(过去 30 天)
  2 个评论
KSSV
KSSV 2021-10-14
What have you attempted for your home work?
Sophia Golubyatnikov
I attempted a different option; I first tired this one and could not get sin(5x)cos(5y) to properly divide by 5. This is also my first time on the plat form so I am not super familiar with it!

请先登录,再进行评论。

回答(1 个)

Ashutosh Singh Baghel
Hi Sophia,
I believe you wish to plot the above function in 'x' and 'y'. Please refer to the example below.
func = @(x,y) x.^2+y.^2;
fsurf(func,[-2 2 -2 2]);
Refer to the following MATLAB documentation page on 'fsurf'.

类别

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