how can I linear interpolation without using function
Mostrar comentarios más antiguos
i want linear interpolation id or 22d
and i have to liner interpolation without using function(interp1q)
Respuestas (2)
John D'Errico
el 20 de Mzo. de 2021
0 votos
Simple. just use interp1. You are not allowed to use interp1q. But interp1 is not interp1q.
1 comentario
grace
el 21 de Mzo. de 2021
Walter Roberson
el 21 de Mzo. de 2021
0 votos
You can use polyfit() with polynomial degree one less than the length of your data, and then use polyval on the new list of coordinates. It is not going to look nice with the data you posted before (and removed), but you can do it. Spline will look even worse but you can do that too.
Categorías
Más información sobre Interpolation en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!