Curve Fitting for non-continuous data with infinity
古いコメントを表示
Hello,
I am currently doing some experiments with a SLS/SLM machine in which I measure the width of the product of the experiment in relation to the speed that the laser is moving. For example:
Speed in mm/sec:
Speed = [0.1:0.1:1.3];
Measured width in mm:
Width = [3.46 2.45 2.22 2.00 1.20 1.10 1.09 1.00 0.75 0.65 0.62 0.55 0.42];
My problem is the following:
The data I presented above can be easily curve fitted into a 5-degree polyonim. However, the reality of the phenomenon I study indicates that at 0 mm/sec speed I will have 0 mm width and when the limit of the speed of the laser approaches 0, then the limit of the width will approach infinity. Also when the limit of the laser speed approaches infinity, then the limit of the width will approach zero.
How is it possible to contruct a curve fitting model to include these characteristics?
Thank you for your time in advance.
5 件のコメント
the cyclist
2017 年 5 月 25 日
編集済み: the cyclist
2017 年 5 月 25 日
I am confused by your question.
I've attached a plot of your data. The trend seems to be
- As Speed -> 0, Width -> Infinity
- As Speed -> Infinity, Width -> 0
(But you also said, "at 0 mm/sec speed I will have 0 mm width", which doesn't seem right.)
Why would you want to fit a 5th-order polynomial to that? That would be zero at Speed=0, and go to infinity at large speed, right? Why not fit an exponential decay, for example? What do you know about the underlying functional form that would be expected from the physical phenomenon? That is what should guide your choice of fit.

patr chri
2017 年 5 月 25 日
Walter Roberson
2017 年 5 月 26 日
cftool has a number of built-in distributions to fit against.
But beyond that... there are an infinite number of expressions that fit any finite number of data points "exactly" (to within round-off error). And you are not even looking for an exact fit.
You really need to know something about the plausible equations to do fitting. For example, your data just might happen to be fit well by the sum of 11 exponentials, but that might be something completely unrelated to the actual physics of the situation, and so might have no predictive power at all.
the cyclist
2017 年 5 月 26 日
Also, it might be helpful to mention the purpose of doing the fit.
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Linear and Nonlinear Regression についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


