Can I get MathCAD to Ignore part of a data set?
I'm trying to do some curve fitting to surface data (X, Y, Z) using Minerr to fit measured data (Z) to a function of (X,Y), and under normal circumstances this works just fine. However, some of my data sets have a circular obscuration (approximately) in the middle so that there is no valid data in this region. I was hoping that if I set the data in this region to NaN, that the built-in MathCAD solver functions would simply ignore this data, but this doesn't seem to be the case.
My alternative is to "deconstruct" my matrices of X, Y, Z data into XYZ column vectors, remove the offending data points, perform the fit, put the offending data points back in, and then re-construct the mattrices from the column vectors.
Can anyone offer a better alternative?

