How to plot an arc with equidistance

I want to plot an arc with equidistant coordinates between two given end point coordinates. I am able to plot an arc with coordinates with unequal distance between them.
Can anybody help me how to resolve this issue?

1 Comment

upload the code with the necessary datas to experiment

Sign in to comment.

Answers (1)

a = 35;
b = 4;
circr = @(radius,rad_ang) [radius*cos(rad_ang)+a; radius*sin(rad_ang)+b]; % Circle Function For Angles In Radians % Circle Function For Angles In Radians
N = 10; % Number Of Points In Complete Circle
r_angl = linspace(3*pi/4, pi/4, N); % Angle Defining Arc Segment (radians)
radius = 0.3; % Arc Radius
xy_r = circr(radius,r_angl); % Matrix (2xN) Of (x,y) Coordinates
figure(1)
plot(xy_r(1,:), xy_r(2,:), 'bp') % Draw An Arc Of Blue Stars
col1=xy_r(1,:);
col2=xy_r(2,:);

Tags

Asked:

on 21 Dec 2018

Answered:

on 21 Dec 2018

Community Treasure Hunt

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

Start Hunting!