Info
La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.
What happens when the argument l=1 in spap2 command?
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Is only one polynomial fit on the data points. In that case what are the equations solved to obtain the 4 unknowns?
0 comentarios
Respuestas (1)
Joost
el 8 de Sept. de 2016
I guess what you mean is the fit of one cubic polynomial (4 unknowns) on an arbitrary large data set of (x, y) pairs. In that case, your equations have been written down nicely at this page.
2 comentarios
Joost
el 9 de Sept. de 2016
This might be the weighting factor w (5th argument in spap2 function call). Could you please try with weights set to 1 and check if the result is the same as polyfit? (I do not have the toolbox with spap2 myself). The weights may cause the different result.
La pregunta está cerrada.
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!