Find all y values for single x in polyshape plot
古いコメントを表示
I whould like to somehow get all y values that correspond to a given x.
pgon = polyshape([0 0 1 1],[1 0 0 1])
plot(pgon)

Expected functionality:
y = findYbyX(pgon, 0.2);
Output:
y = [0, 1]
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Elementary Polygons についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!