AnsweredAssumed Answered

vrf Griddata (Matlab) trouble: irregular spaced data plotting

Question asked by VRFuser on Mar 14, 2008
"DUNSMORE,JOEL (A-Sonoma,ex1)" <joel_dunsmore@agilent.com> 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.

Stan

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  stan_bischof@agilent.com
--------------------------------------------------------------------------


---
You are currently subscribed to vrf as: ming_meng@agilent.com To subscribe please send an email to: "vrf-request@lists.it.agilent.com" with the word subscribe in the message body.
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list,  email "vrf@agilent.com". 
If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".
Search the "unofficial vrf archive" at "http://www.vrfarchive.com/vrf_archive".
Search the Agilent vrf archive at "http://vee.engineering.agilent.com".

Outcomes