Draw the curve in the x–y plane for which ||(x; y)||inf = 2

1 view (last 30 days)
Draw the curve in the x–y plane for which ||(x; y)||inf = 2

Answers (2)

Walter Roberson
Walter Roberson on 1 Feb 2017
Edited: Walter Roberson on 1 Feb 2017
If you have R2016b or later, you can use fimplicit() to do the drawing. The appropriate anonymous function is not difficult once you know the definition of infinity norm.
For earlier versions there are a variety of ways, including creating a contour plot.

Roger Stafford
Roger Stafford on 1 Feb 2017
plot([-2,2,2,-2,-2],[-2,-2,2,2,-2],y-)

Categories

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

Community Treasure Hunt

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

Start Hunting!