Discretize Lines, then Retrieve the New Coordinates and Connectivity?

조회 수: 1 (최근 30일)
czeslaw
czeslaw 2017년 11월 11일
편집: czeslaw 2017년 11월 11일
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.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by