Simulink Model about Delaunay Triangulation
1 view (last 30 days)
Show older comments
Hello,im trying to make a Simulink block about delaunay triangulation that will have as inputs the InnerConeosition and the OutterConeosition and as an output i want to have a vector that will have the midpoints. I have started something but a lot of errors occured and i cant seem to understand some of them. I would really appretiate it if someone could have an eye on it and be willing to discuss it further!!
1 Comment
the cyclist
on 2 Nov 2022
Only commenting because you reached out via email. Sorry, but I don't know anything about Simulink.
Answers (1)
ag
on 7 Sep 2023
Hi Sandra,
I understand that you are looking to implement a SIMULINK model that takes "InnerConeosition" and "OutterConeosition" as inputs and outputs a vector containing the midpoints.
You can follow the below mentioned steps to form a model with your desired functionality:
- Add a MATLAB Function block to your SIMULINK model.
- Connect the "InnerConeosition" and "OutterConeosition" inputs to the MATLAB Function block's input ports.
- Connect the output of the MATLAB Function block to an output port.
- Inside the MATLAB Function block, utilize the "Delaunay triangulation" function provided by MATLAB to calculate the midpoints.
In order to assist you better, I request you to share your model and the errors that you are facing.
Please refer to the below documentation to learn more about the “Delaunay Triangulation” function in MATLAB.
https://www.mathworks.com/help/matlab/math/delaunay-triangulation.html
Regards,
Aryan Gupta
0 Comments
See Also
Categories
Find more on Delaunay Triangulation 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!