Effacer les filtres
Effacer les filtres

Discretize Lines, then Retrieve the New Coordinates and Connectivity?

2 vues (au cours des 30 derniers jours)
czeslaw
czeslaw le 11 Nov 2017
Modifié(e) : czeslaw le 11 Nov 2017
Hi all,
Supposed I have:
nodes=[ 1 0 0; 2 1 0; 3 1 1; 4 0 1; ] %the original coordinates
link=[ 1 1 2; 2 2 3; 3 3 4; 4 4 1; ] %the original connectivity
This will create a perfect square with 4 nodes connected by 4 links.
Now, how can I discretize the square by adding more nodes into each link? The discretization will create a square with more nodes and links, which correspond to new nodal coordinates and new connectivity. Having that, then how can I retrieve the new coordinates and new connectivity as well?
Any help would be much appreciated. Thanks.

Réponses (0)

Catégories

En savoir plus sur MATLAB dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by