griddata uses average values of Z.
이전 댓글 표시
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
답변 (1개)
Walter Roberson
2011년 8월 16일
0 개 추천
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.
카테고리
도움말 센터 및 File Exchange에서 Interpolation에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!