I have a sine function y = a*sin(bx-c)+d and I have 4 points on the function: P1(0.840,0.730) P2(1.516,0.594) P3(2.879,0.236) P4(3.365,0.652)?
18 次查看(过去 30 天)
显示 更早的评论
采纳的回答
Torsten
2014-11-25
I get
a=-0.386091187
b=-2.36473575
c=-0.96663067
d=0.401059696
Of course, since sin(x)=sin(x+2*Pi), the constant c can be changed to c+2*Pi, c-2*Pi, c+4*Pi, c-4*pi etc.
Best wishes
Torsten.
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!