Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
NCTM or The Math Forum.


Luca
Posts:
77
Registered:
6/6/12


Re: Problem with Creating an Ellipse using Meshgrid
Posted:
Mar 6, 2013 12:49 PM


"Corey " <cdavis2000@hotmail.com> wrote in message > I am not sure if my equation is correct?
No, It's not. Depending on what you want to do it should be something like f = sqrt((xx_c).^2/200 + (yy_c).^2/900) 1 with x_c and y_c the center of your ellipse. E.g.: x_c = cols/2; y_c = rows/2;
(and BTW, use ndgrid and not meshgrid. meshgrid is pure evil)



