File Exchange

image thumbnail


version 1.8 (326 KB) by

A simple mathematical operation like subtracting on two 2d fields with multiple scalar values.



View License

Performs a simple mathematical operation (e.g. adding, subtracting, multiplying, dividing) on two two-dimensional fields. The fields can contain multiple scalar values like the components of velocity. One field is interpolated using TriScatteredInterp to match the other field.
Originally intended to determine the convergence of Particle Image Velocimetry data when using multiple adaptive cross-correlations or easily see the differences between measurements.

Note: I wasn't aware of the fact that it did depend on the Neural Network Toolbox, I'm sorry if anybody ran into odd error messages (next time let me know otherwise it stays useless ;-) ).

Comments and Ratings (0)



small improvement in the removeNans subfunction


Removed the dependence on the Neural Network Toolbox


Removed one of my comments in the $help since it was not entirely correct, included a reference to the underlying MATLAB function instead.
Added a screenshot to show the functionality.


Corrected typos, removed redundant license, the helper function now writes as well the interpolation type in the summary.

MATLAB Release
MATLAB 7.11 (R2010b)

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video