AnsweredAssumed Answered

vrf Griddata (Matlab) trouble: irregular spaced data plotting

Question asked by VRFuser on Mar 14, 2008
"DUNSMORE,JOEL (A-Sonoma,ex1)" <> wrote:
> Thanks for the reply, that helped a bit, but not enough

> I wanted to see the Z data output.  Is there a matlab function, such
> as the VEE cliplower or clipupper, that I can use to turn NaN to something like 1e12.
>  Would Matlab know to clip NaN? 

I'd expect that what you would want to do is to write a function in Matlab using isnan() that would look at your array of values and figure out which ones are NaN-- and then substitute those values with a real64. This should be fairly simple.

Now of course the hard part may be deciding in general what value to substitute in. NaN is after all an unknown-- do you make it
1e-12 or e+9 or 42 ? You'd need to know this based on the results you expect.


PS- Joel- we have support contract with Mathworks, so you may
          want to ask them how to implement the Nan substitution.

Stan Bischof  Agilent Technologies  707-577-3994

You are currently subscribed to vrf as: To subscribe please send an email to: "" with the word subscribe in the message body.
To unsubscribe send a blank email to "".
To send messages to this mailing list,  email "". 
If you need help with the mailing list send a message to "".
Search the "unofficial vrf archive" at "".
Search the Agilent vrf archive at "".