Given function f(x, y) = x^2 + y − sin(xy), draw 3-D graph of contour, plot3, mesh, surface on the intervals x ∈ [−2π, 2π] and y ∈ [−2π, 2π].

답변 (1개)

Walter Roberson
Walter Roberson 2021년 6월 20일

0 개 추천

https://www.mathworks.com/help/matlab/ref/meshc.html#mw_7ea10a14-7937-4914-8926-acba95cc084d shows an example of creating a 3D meshplot with a user-supplied function.
The other kinds of plots just involve calling different plotting functions such as surf()

카테고리

도움말 센터File Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기

제품

릴리스

R2021a

태그

질문:

2021년 6월 20일

답변:

2021년 6월 20일

Community Treasure Hunt

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

Start Hunting!

Translated by