Info
此问题已关闭。 请重新打开它进行编辑或回答。
curve fitting for different data
1 次查看(过去 30 天)
显示 更早的评论
Hello,
I have a data from different factors, I need to make a fitting curve as an estimation function for them.
18 个评论
Star Strider
2019-10-9
Do you have a mathematical description of the process that created these data? Any number of functions could fit them, however estimating the parameters of the process that created them is the only one that would make any sense.
Ahmed Abdalazeez
2019-10-10
Hi,
Thank you for your response!
I normalized these data by taking the parameter-constant- (L/\lambda)^1/4, so then I get thier distribution as it shown in this figure. Now I want indepentent function can estimate y according to x.
Star Strider
2019-10-10
My pleasure.
It would be extremely helpful to know exactly what you are plotting, and the mathematical model of the process that produced those data, as well as the normalisation constants and other information.
We still do not have any of that information.
Ahmed Abdalazeez
2019-10-10
Thanks a lot!
Well, Y- axces is the runup values times (Lnegth of beach slope/Wavelength = 20/70) vs steepness of incident wave. The data isa results of NLSW equations. Both xand y nondimensional. These different colors are different intial periods.
Hope these information help you to get helping from you :)))
Thanks in advance!!
Star Strider
2019-10-10
What parameters would you want from a curve fit to your data?
Are there any literature references that you can post (preferably as .pdf files) that could explain this in more detail, for those of us who (like me) have very little understanding of littoral dynamics?
Have others estimated these parameters? If so, what models did they use?
Ahmed Abdalazeez
2019-10-10
Actually, I am just looking for the best power curve fitting of (s/s0), I found:
fit= ((70/20).^(1/8)*(((s/s0).^(1/4)))); but I am not sure if it is the best fitting.
Star Strider
2019-10-10
What parts of this equation:
fit = ((70/20).^(1/8)*(((s/s0).^(1/4))));
represent parameters you want to fit? The exponents? s0?
Star Strider
2019-10-10
As I interpret it, ‘s’ are data, so ‘s0’ would be the parameter you want to estimate. Is this correct?
Before I attempt to extract your data from the figure you posted, what are they? If you already assumed a value for ‘s0’, then there is nothing to estimate.
I am still not certain what you are doing, or what your data are.
Ahmed Abdalazeez
2019-10-10
No, (s/s0) is x-axes, so you can call them S or anything. i want interpret (Rmax/Ro) with regarding S.
Rmax/R0 = b * S^x.
this what I need, hope now is clear.
Thanks a lot
Star Strider
2019-10-10
O.K. That much is now clear.
I still need to know what your data are. I assume in ‘num.fig’ that ‘s/s0’ is ‘x’. Is that correct? What is ‘y’? I am still not certain what the plot represents, or what the data are that are plotted.
Ahmed Abdalazeez
2019-10-10
yes, in .fig
x-axes: s/s0
y=axes: Rmax/R0*(L/lambda)^1/4.
AND, (L/lambda)^1/4 is constant
Star Strider
2019-10-10
How am I supposed to estimate Rmax/R0, or Rmax or R0 if that calculation has already been done?
What is the value of (L/lambda)^1/4?
Ahmed Abdalazeez
2019-10-10
How am I supposed to estimate Rmax/R0?
OK, what I need, I just need a perfect fitting with these data R VS S
Regarding to the value of (L/lambda)^1/4 = (20/70)^1/4.
Ahmed Abdalazeez
2019-10-10
Suppose, it as experimental data distributed as in the figure above. What I have here the value of Rmax/R0 is calculated directly. So, from these data i need the best fit as power function for example Rmax/R0 = a*(s/s0)^x.
I tried the formula above but I not sure if is the best fitting or not.
此问题已关闭。
回答(0 个)
此问题已关闭。
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!发生错误
由于页面发生更改,无法完成操作。请重新加载页面以查看其更新后的状态。
您也可以从以下列表中选择网站:
如何获得最佳网站性能
选择中国网站(中文或英文)以获得最佳网站性能。其他 MathWorks 国家/地区网站并未针对您所在位置的访问进行优化。
美洲
- América Latina (Español)
- Canada (English)
- United States (English)
欧洲
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom(English)
亚太
- Australia (English)
- India (English)
- New Zealand (English)
- 中国
- 日本Japanese (日本語)
- 한국Korean (한국어)