Using Mathcad 15 to do curve fitting of measured data. It's pretty tedious to down-select a subset of the data, analyze it and publish the results. over-and-over-and-over again (e.g. every time the test laboratory runs a new test). Wondering if there's a faster way.
I'm using the Excel Component rather than File Input (or other means of getting external data into Mathcad).
I have a bunch of test data in Excel. Every test is stored in a different file. Every file has different numbers of rows. Inside the data are several events. I'm only interested in doing data analysis between two specific events. Meaning the size of the data I'm interested in and its location in the file is variable every time the test is run.
My work flow looks something like this:
Yes, I'm a Mathsoft hold-out. I like the Word processing features that still haven't been ported to Prime 6 and Mathsoft's plots still look more professional.
Yes, there is.
You shouldn't need to go through Excel before your first operations in Mathcad.
Display, tabulation and selection can also be done in Mathcad. If Excel can Read a file, Mathcad can (be tought to) do the same.
Why don't you share an example?
Luc
Attached. This comes from an HP/Agilent data logger, I think. Someone else is taking the data and sending me the spreadsheets. Every run will have a different number of scans.
I fed your data into CurveExpert (you can find it on-line) and it thinks your best function for fitting both of your examples is a Hoerl model:
where a, b, and c are data fits.
Equally capable (it said) is a Weibull model:
Which is very close to your first function:
So it looks like you're on course!
Good luck!
I think mathcad is probably not the right tool for this problem. Matlab or python probably allows more scripting to better handle it. Ideally you'd get the test lab to standardize format, but that maybe isn't possible. If the challenge is finding the right fit I'll again point out to the forum zunzun.com which will step through far more options than CurveFitPro and is free, but slow. (However, it is often down as it currently). Furthermore, the site has open source programming for the various fits so if you port it python you can borrrow some code. I think the code is also available on github.