Azzera filtri
Azzera filtri

interp1 is used for only for equidistant steps?

2 visualizzazioni (ultimi 30 giorni)
Ahmed
Ahmed il 5 Lug 2012
I have a code which include interpolation using intrp1, and it give the correct final answer only when the interpolation is done on equidistant source data. but it gives shifted results when the source data are non-equidistant.
is the reason is the interp1 functions limitation? or it can not be the reason?
Thanks Ahmed

Risposte (1)

Jonas
Jonas il 5 Lug 2012
Modificato: Jonas il 5 Lug 2012
I used interp1 with non regular spacings and it worked....
Verify your code...

Categorie

Scopri di più su Interpolation in Help Center e File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by