Code covered by the BSD License  

Highlights from
operationOnTwoFields

Be the first to rate this file! 9 Downloads (last 30 days) File Size: 326 KB File ID: #36752
image thumbnail

operationOnTwoFields

by

 

17 May 2012 (Updated )

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

| Watch this File

File Information
Description

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 ;-) ).

Required Products MATLAB
MATLAB release MATLAB 7.11 (R2010b)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Updates
18 May 2012

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

18 May 2012

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.

16 Aug 2012

Removed the dependence on the Neural Network Toolbox

25 Mar 2013

small improvement in the removeNans subfunction

Contact us