Ok all you MathCad experts, I have a really annoying problem. I have a worksheet that performs the following tasks: data is input via a text file into a 3D array, next it curve fits the data, and finally I want to be able to read the coeffecients of the function. The problem occurs when I try to symbolically evaluate the curve fit. I use a the general form of a polynomial to the nth power to display the polynomial, but when I symbolically evaluate it MathCAD returns the very function that was called earlier. This makes sense, but it is not how previous versions worked. Anyone know of a symbolic modifier that would fix the issue? I attached the document with a similar example; the real version is proprietary.
Thanks for the input, but I don't like your answer (although you are most likely correct ). Can anyone disprove Mr. Jackson?
Isn't that worksheet static though? It looks like, on the second to last line of code, that you have to copy what is returned for "a" into the new definition of "a" (a= versus a:=)
There is one kludge that should work. Write the coefficients to a file, then read them back in again. That should break the link to the polyfitc function.
Nope! This doesn't seem to work either!
Well, I suppose you are right that it breaks the link to the polyfitc function; but it isn't quite what is really wanted!
Jacob Stockton wrote:
... but it is not how previous versions worked.
What makes you think so? I've just tried M11 and it exhibits the same behaviour (though I had to use genfit, as it doesn't have polyfitc).