From: Tom H. <to...@ku...> - 2005-06-04 14:53:55
|
The interp2.m script doesn't work if XI and YI are not meshgrids. For example, it grabs the first row of XI only to sort in with the original grid (which must be a monotone meshgrid). If the other rows have different mins and maxes it'll get incorrect results. Has anybody noticed and/or fixed this already? It seems like all that might be necessary is to find the global min and max of the XI and YI arrays, instead of just the first row/column, but I haven't played with the code enough to know for sure yet. -- Dr. Tom Holroyd "A man of genius makes no mistakes. His errors are volitional and are the portals of discovery." -- James Joyce |