A MATLAB function for gridding large datasets of scattered data.
Al momento, stai seguendo questo contributo
- Vedrai gli aggiornamenti nel tuo feed del contenuto seguito
- Potresti ricevere delle email a seconda delle tue preferenze per le comunicazioni
gridbin
A fast MATLAB function for gridding very large datasets of scattered data. This function is somewhat similar to Matlab's built-in griddata or John D'Errico's gridfit, with the differences being that
-
gridbinreturns the mean value of all scattered data points within every cell of a grid rather than interpolating or fitting a surface. -
gridbinis much faster thangriddataorgridfit. -
gridbincan handle much larger scattered datasets thangriddataorgridfit. -
gridbincan return statistics. For example,gridbincan return the standard deviation of all scattered data points within a grid cell simply by adding@stdto the function call.
Syntax
vq = gridbin(x,y,v,xq,yq)
vq = gridbin(...,@func)
[vq,N] = gridbin(...)
Description
vq = gridbin(x,y,v,xq,yq) produces a 2D grid of values vq at the coordinates
xq,yq. Inputs x,y,v may be scattered data, and the output vq is the mean
of all scattered values v within each spatial bin.
vq = gridbin(...,@func) applies any function @func to the v data. By
default, @func is @mean, meaning that vq contains the mean of all values
v within each spatial bin.
[vq,N] = gridbin(...) also returns a grid N containing the number of
observations v in each bin.
Cita come
Chad Greene (2026). gridbin (https://github.com/chadagreene/gridbin), GitHub. Recuperato .
Riconoscimenti
Ispirato da: Surface Fitting using gridfit
Informazioni generali
Compatibilità della release di MATLAB
- Compatibile con qualsiasi release
Compatibilità della piattaforma
- Windows
- macOS
- Linux
Le versioni che utilizzano il ramo predefinito di GitHub non possono essere scaricate
| Versione | Pubblicato | Note della release | Action |
|---|---|---|---|
| 1.0.0 |

