Need help making Delaunay's Disk in a figure.
1 view (last 30 days)
Show older comments
Essentially what the title says. If you're not sure what the disk is, I've uploaded a picture of it. I tried mapping it out this way:
figure
hold on
x=n*[cos(pi/2),cos(pi),cos(3*pi/2),cos(2*pi)];
y=n*[sin(pi/2),sin(pi),sin(3*pi/2),sin(2*pi)];
plot(x,y)
fill(x,y, [ ])
But realized that this would only map a square with those points as vertices. I'm not entirely sure what steps to take next, though. I'm sorry ahead of time if anything about the code is wrong, I'm in my first semester of learning matlab.
0 Comments
Answers (1)
Akshit Agarwal
on 11 Oct 2019
Edited: Akshit Agarwal
on 11 Oct 2019
Hi Christophre,
Thats a interesting problem statement you got there. You can refer to these queries that have already been answered:
Solutions provided in above links should be enough for you to write the code for your problem statement.
See Also
Categories
Find more on Surface and Mesh Plots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!