Meshing cartesian coordiantes within a circle?

9 vues (au cours des 30 derniers jours)
Lizan
Lizan le 17 Oct 2013
Modifié(e) : Yatin le 17 Oct 2013
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?

Réponses (1)

Yatin
Yatin le 17 Oct 2013
Modifié(e) : Yatin le 17 Oct 2013
Hi,
You can try setting the values for the co-ordinates outside the circle to NaN. May be this will help.
  1 commentaire
Lizan
Lizan le 17 Oct 2013
How do I do that for mesh matrix x and y?

Connectez-vous pour commenter.

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by