WriteaMALT​ABscriptfil​eforplotti​ngthebelow​surfacesby​coloringth​esurfacewi​thacolorma​p, appropriately naming the axis and titling the plot. 1. z = sin(x+y)/ x^2+y^2 for (x,y) ∈ [−2,2]×[1,3]

 Accepted Answer

More Answers (1)

Homework hint: Use linspace() to create x and y.
x = linspace(.....
Then use meshgrid()
[X, Y] = meshgrid(x, y);
Then create the surface using dot slash instead of slash:
z = sin(X+Y) ./ X .^ 2 + Y .^ 2;
Then call surf().

Categories

Find more on Geodesy and Mapping in Help Center and File Exchange

Asked:

on 12 Sep 2018

Edited:

on 12 Sep 2018

Community Treasure Hunt

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

Start Hunting!