Convert polygon grid to cartesian grid

2 ビュー (過去 30 日間)
user20912
user20912 2022 年 9 月 6 日
編集済み: user20912 2022 年 9 月 6 日
Hi,
I have a vector with data in the form of vertex values (var2) and a vector indicating which vertices to connect (var1).
whos var1 var2
Name Size
var1 110622x6
var2 84968x2
I've managed to plot using the patch function:
PATCH('Faces',var1,'Vertices',var2)
I'd like to know how to convert this data to a cartesian grid. I already tried to create a grid and traverse each element of the vertices values to fill this grid. This work but since this approach doesn't consider how to connect the vertices, the new shape is wrong.
Can anyone point me a way to solve this?
Thanks.

回答 (0 件)

カテゴリ

Help Center および File ExchangePolygons についてさらに検索

製品


リリース

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by