![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/246074/image.png)
Sie verfolgen jetzt diese Frage
- Aktualisierungen können Sie in Ihrem Feed verfolgter Inhalte sehen.
- Je nach Ihren Kommunikationseinstellungen können Sie auch E-Mails erhalten.
Can someone propose some code that will "connect the dots" to produce the correct geometric shapes (i.e., hexagons, pentagons, rectangles) from these points?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/246052/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/246053/image.bmp)
Akzeptierte Antwort
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/246074/image.png)
35 Kommentare
![arc_plot.png](https://www.mathworks.com/matlabcentral/answers/uploaded_files/246079/arc_plot.png)
- Is this purely graphical or can I store the arrangement of edges/lines as vectors in a file?
- Is it possible to have the node numbers correspond to the indices in the fpep.mat file?
- In the original question, I had specified that the edges must pass through the triplet end points (and hence must actually be arcs), is there any way to do this with this method you have shown?
![two_sets+arc.png](https://www.mathworks.com/matlabcentral/answers/uploaded_files/246170/two_sets+arc.png)
![arc_of_circle_by_3_pts.png](https://www.mathworks.com/matlabcentral/answers/uploaded_files/246171/arc_of_circle_by_3_pts.png)
![missing_edge.JPG](https://www.mathworks.com/matlabcentral/answers/uploaded_files/246172/missing_edge.jpeg)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/246192/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/246197/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/246199/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/246202/image.png)
![22_58-anomaly.png](https://www.mathworks.com/matlabcentral/answers/uploaded_files/246205/22_58-anomaly.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/339502/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/339550/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/339553/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/345480/image.png)
- All boundary edges.
- That any remaining vertex that has two remaining edges, is also a boundary edge.
- Those vertices which are connected to the proper amount of edges (i.e., three), but where one of those edges is already defined as a boundary edge.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/349445/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/357763/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/357766/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/357769/image.png)
Weitere Antworten (2)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/246492/image.png)
2 Kommentare
![untitled.png](https://www.mathworks.com/matlabcentral/answers/uploaded_files/246751/untitled.png)
1 Kommentar
Siehe auch
Kategorien
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Es ist ein Fehler aufgetreten
Da Änderungen an der Seite vorgenommen wurden, kann diese Aktion nicht abgeschlossen werden. Laden Sie die Seite neu, um sie im aktualisierten Zustand anzuzeigen.
Website auswählen
Wählen Sie eine Website aus, um übersetzte Inhalte (sofern verfügbar) sowie lokale Veranstaltungen und Angebote anzuzeigen. Auf der Grundlage Ihres Standorts empfehlen wir Ihnen die folgende Auswahl: .
Sie können auch eine Website aus der folgenden Liste auswählen:
So erhalten Sie die bestmögliche Leistung auf der Website
Wählen Sie für die bestmögliche Website-Leistung die Website für China (auf Chinesisch oder Englisch). Andere landesspezifische Websites von MathWorks sind für Besuche von Ihrem Standort aus nicht optimiert.
Amerika
- América Latina (Español)
- Canada (English)
- United States (English)
Europa
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom(English)
Asien-Pazifik
- Australia (English)
- India (English)
- New Zealand (English)
- 中国
- 日本Japanese (日本語)
- 한국Korean (한국어)