From: Paul K. <pki...@us...> - 2005-03-03 04:54:46
|
Thomas, I rewrote much of the argument processing and made use of lookup() to simplify the code. I've posted the changes back to CVS. I'm attaching the file here for your convenience. Please let me know if you have any problems with it. All your tests pass the new code. Thanks, - Paul On Mar 2, 2005, at 11:06 AM, Thomas Weber wrote: > Hi, > > I attach a patch against interp2.m: > > changes: > * new handling of input arguments - I couldn't quite understand the old > one > * correct handling of non-monotonic vectors xi and yi and correct > handling of out of border values > * unit tests added > > Please cc me on replies (Sourceforge is quite slow with my > subscription). |