PLease Help Code to graph specific ftc.

1 view (last 30 days)
  2 Comments
KSSV
KSSV on 14 Oct 2021
What have you attempted for your home work?
Sophia Golubyatnikov
Sophia Golubyatnikov on 14 Oct 2021
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!

Sign in to comment.

Answers (1)

Ashutosh Singh Baghel
Ashutosh Singh Baghel on 19 Oct 2021
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'.

Categories

Find more on 2-D and 3-D Plots in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!