I am trying to fit a parabola using polyfit/polyval
combination in Matlab. However, in some cases, I am not able to align the peak of fitted parabola as it should be with the given data. As an example, please see the attached image. Any idea to fix this problem?
My data points are as follows:
x = 4.13, 5.19, 5.79, 5.83, 5.51, 4.98, 4.35
y = 270, 285, 300, 315, 330, 345, 360
question from:
https://stackoverflow.com/questions/66068020/parabola-orientation-polyfit-polyval-matlab 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…