gridbin

버전 1.0.0 (533 KB) 작성자: Chad Greene
A MATLAB function for gridding large datasets of scattered data.
다운로드 수: 120
업데이트 날짜: 2021/12/26

View gridbin on File Exchange

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

  1. gridbin returns the mean value of all scattered data points within every cell of a grid rather than interpolating or fitting a surface.
  2. gridbin is much faster than griddata or gridfit.
  3. gridbin can handle much larger scattered datasets than griddata or gridfit.
  4. gridbin can return statistics. For example, gridbin can return the standard deviation of all scattered data points within a grid cell simply by adding @std to 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.

인용 양식

Chad Greene (2024). gridbin (https://github.com/chadagreene/gridbin), GitHub. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2021a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!

GitHub 디폴트 브랜치를 사용하는 버전은 다운로드할 수 없음

버전 게시됨 릴리스 정보
1.0.0

이 GitHub 애드온의 문제를 보거나 보고하려면 GitHub 리포지토리로 가십시오.
이 GitHub 애드온의 문제를 보거나 보고하려면 GitHub 리포지토리로 가십시오.