Borrar filtros
Borrar filtros

griddata uses average values of Z.

2 visualizaciones (últimos 30 días)
Kevin
Kevin el 16 de Ag. de 2011
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

Respuestas (1)

Walter Roberson
Walter Roberson el 16 de Ag. de 2011
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.

Categorías

Más información sobre Interpolation en Help Center y File Exchange.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by