2 Kommentare

KSSV
KSSV am 14 Okt. 2021
What have you attempted for your home work?
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!

Melden Sie sich an, um zu kommentieren.

Antworten (1)

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'.

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by