Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: Identifying missing points in grid
Replies: 2   Last Post: Nov 22, 2010 5:55 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
JS

Posts: 49
Registered: 8/4/08
Identifying missing points in grid
Posted: Nov 22, 2010 8:51 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Hi NG,

I have a rectangular grid describing a surface and given in columns of
[X,Y,Z]. When I scatter-plot X vs. Y I realize that points are
missing. Is there an efficient way of finding out which points these
are (and then add them with Z=NaN). I realize I can loop through the
entire set of points and look for all combinations of X and Y within
the grid and flag the ones not existing in the list, but I was hoping
for a more "vectorized" way. Possibly some logical operation between
my grid and a complete one? Don't know quite how to go about that.

Any input is welcome. Thanks!

/JS



Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.