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 Kommentar

madhan ravi
madhan ravi am 21 Dez. 2018
upload the code with the necessary datas to experiment

Melden Sie sich an, um zu kommentieren.

Antworten (1)

R HEMANT KUMAR
R HEMANT KUMAR am 21 Dez. 2018

0 Stimmen

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

Gefragt:

am 21 Dez. 2018

Beantwortet:

am 21 Dez. 2018

Community Treasure Hunt

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

Start Hunting!

Translated by