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

Thread Subject:
Plotting different arc sections

Subject: Plotting different arc sections

From: Rajkumar devadoss

Date: 2 Jun, 2011 00:43:02

Message: 1 of 2

Hi all,
I am new to the community and matlab.
I have to plot a arc which has different radius at different sections.
I wish to use the method - center ,radius,start angle and end angle to construct each section. Can anyone guide me based on the inputs i have provided?

For example:
I will need to construct an arc with,
Section 1: x1,y1,r1,v1,v2
Section 2: x2,y2,r2,v3,v1
Section 3: x3,y3,r3,v4,v3
Section 4: x4,y4,r4,v5,v4 and then join them all.

v1- starting angle
v2- end angle

Subject: Plotting different arc sections

From: Roger Stafford

Date: 2 Jun, 2011 20:53:04

Message: 2 of 2

"Rajkumar devadoss" wrote in message <is6mam$7ao$1@newscl01ah.mathworks.com>...
> Hi all,
> I am new to the community and matlab.
> I have to plot a arc which has different radius at different sections.
> I wish to use the method - center ,radius,start angle and end angle to construct each section. Can anyone guide me based on the inputs i have provided?
>
> For example:
> I will need to construct an arc with,
> Section 1: x1,y1,r1,v1,v2
> Section 2: x2,y2,r2,v3,v1
> Section 3: x3,y3,r3,v4,v3
> Section 4: x4,y4,r4,v5,v4 and then join them all.
>
> v1- starting angle
> v2- end angle
- - - - - - - - - - -
  In view of the fact that you are asking for the arcs to be joined, the data you are furnishing seems rather inappropriate and unnatural. Giving the center of curvature of the arc segment and its initial and final angles, these would of themselves determine the location of each arc segment, and they would not necessarily be joined. Moreover, even if they were joined end-to-end, the pieces might not meet with the same slope.

  I would think the more natural specifications would be 1) the starting point and starting angle, followed by 2) the arc length and signed curvature (positive for curvature to the left and negative for curvature to the right) of each arc segment. Also you should make clear what is meant by 'angle' here. I would suggest the angle between a tangent line to the arc and the x-axis.

Roger Stafford

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