Absolute sinus function in data fitting tool
1 次查看(过去 30 天)
显示 更早的评论
Hi,
I am using the curve fitting tool for statistical analysis on a data set that shows somewhat of a absolute sinusoidal function. By using the 'sum of sine' on 1st degree I can try to fit a sinus function, but I can't manage to put a absolute sinus function in the 'custom equation' box. I tried.......a*abs(sin(b*x+c))........and.........a*|sin(b*x+c)|....... but it doesn't work. Even when i try to fit a normal sinus function in the box (exactly the same shown in 'sum of sine' it doesn't show the same result as 'sum of sine'. Does anybody know how this can be fixed?
Thanks!
Edward
1 个评论
Vijay Ramareddy
2019-8-3
Did you get it to work? I have the same problem. Please message me if you got it to fit. I'm trying to fit square to cos fit. but it is not fitting good.
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Interpolation 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!