Meshing cartesian coordiantes within a circle?

1 回表示 (過去 30 日間)
Lizan
Lizan 2013 年 10 月 17 日
編集済み: Yatin 2013 年 10 月 17 日
I want to do a mesh with x and y .. but I only want to display the data for a circle with radius r. I don't want to use polar coordinates since the mesg becomes less dens at the edges.
Is there a way to do this, to ignore the coordiantes outside this circle?

回答 (1 件)

Yatin
Yatin 2013 年 10 月 17 日
編集済み: Yatin 2013 年 10 月 17 日
Hi,
You can try setting the values for the co-ordinates outside the circle to NaN. May be this will help.
  1 件のコメント
Lizan
Lizan 2013 年 10 月 17 日
How do I do that for mesh matrix x and y?

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeSurface and Mesh Plots についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by