Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

New to MATLAB?

Thread Subject:
compound ellipse

Subject: compound ellipse

From: Armen

Date: 13 Jul, 2011 14:57:26

Message: 1 of 1

Hey guys:

I'm trying to write a function that generates a rather unusual shape. I am given four points on a cartesian coordinate system, with one point at (a, 0), one point at (-b, 0), one point at (0, c), and finally one at (0, -d). It is important to note that these points are not necessarily symmetric about the origin (0,0). I am trying to generate a shape in which each quadrant is an elliptical arc defined by the points that enclose that quadrant. For example, the upper-righthand quadrant contains a curve that is defined by the ellipse with semi-major and semi-minor axes a and c, respectively, and the lower-lefthand quadrant contans a curve that is defined by axes -b and -d. I would like to plot this onto a cartesian coordinate plane.


Tags for this Thread

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us