The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: Ellipe drawing
Replies: 2   Last Post: Jun 21, 2013 6:06 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]

Posts: 1
Registered: 6/21/13
Ellipe drawing
Posted: Jun 21, 2013 6:16 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Hello all

I'm trying to draw an ellipse in the same fashion I did it for a circle, I let you an example

[X,Y] = meshgrid(0:1/SpatSamp:Xmax,0:1/SpatSamp:Ymax);
Act = sqrt((X-Loc(1)).^2+(Y-Loc(2)).^2);

where SpatSamp is the spatial sampling, Xmax and Ymax are the limits y Loc is a vector with the X,Y coordinates of the center.

the objective is to plot it using "contour"

Any ideas? thank you in advance for your help!

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.