unique() your (x,y) coordinates with the 'first' option; use the indices returned by unique() to extract the appropriate full rows of your (x,y,z) data, and griddata() that.
griddata uses average values of Z.
1 次查看(过去 30 天)
显示 更早的评论
Hello !! Question about griddata function. I've some data with some duplicates points and instead of using average value of Z I would like griddata to use previous value of Z. Is that an option of griddata ? Thanks Kevin
0 个评论
回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Encryption / Cryptography 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!