Partition Domain

版本 1.2.0.0 (7.8 KB) 作者: Jason Nicholson
Divide a n-dimensional domain into partitions/cells and average points in each cell
191.0 次下载
更新时间 2014/6/20

查看许可证

Divide a n-dimensional domain into partitions/cells and average points in each cell. Very useful for scattered data interpolation.
This function is useful for data that contains dense data in some location in a domain and not in others. When trying to interpolate n-dimensional data, the desire is for the data be equally space. Often this is not the case for test data. To interpolate in n-dimensional space more accurately, a local average of points can be computed using this function to better facilitate widening the distance between points where the points are close together. This also deals with points that are close together but have very different functional values w = f(u). I found this helps in n-dimensional scattered data interpolation.
Run the example contained in the help of this function to better understand its behavior.

Note that this is similar to n-dimensional smoothing and resampling filter.

More discussion on this is listed in a MATLAB Answer here:
http://www.mathworks.com/matlabcentral/answers/131372#comment_220320

引用格式

Jason Nicholson (2024). Partition Domain (https://www.mathworks.com/matlabcentral/fileexchange/46970-partition-domain), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R2014a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Interpolation 的更多信息

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.2.0.0

Fixed two major bugs in partitionDomain.m.

- The partition index was not correctly calculated. on line 147.
- uScaled needed adjusting so that the partition index would be correctly calculated on line 112.

1.1.0.0

Added a link to MATLAB Answer.

1.0.0.0