Effacer les filtres
Effacer les filtres

Simulink Model about Delaunay Triangulation

3 vues (au cours des 30 derniers jours)
Sandra Jnt
Sandra Jnt le 2 Nov 2022
Réponse apportée : ag le 7 Sep 2023
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 commentaire
the cyclist
the cyclist le 2 Nov 2022
Only commenting because you reached out via email. Sorry, but I don't know anything about Simulink.

Connectez-vous pour commenter.

Réponses (1)

ag
ag le 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

Catégories

En savoir plus sur Delaunay Triangulation dans Help Center et File Exchange

Produits


Version

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by