Make unequally spaced data x,y equally spaced
16 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Eugenio Daviso
el 21 de Mzo. de 2017
Respondida: Tamas Kis
el 25 de Jul. de 2021
Hi all,
I have this issue: I have x and y data where x that is unequally spaced, for example:
x=[99.5,100,100.5,101,104,106,108,110,112,116,120,124,128] and y=[does not matter]
Is there a transformation I can use to have x equally spaced with the smallest step (0.5 in this case) and y being smoothed (monotonically increasing or decreasing) in between the newly added points?
Thanks
0 comentarios
Respuesta aceptada
Más respuestas (1)
Tamas Kis
el 25 de Jul. de 2021
Function that does this + allows you to choose spacing in x:
0 comentarios
Ver también
Categorías
Más información sobre Resizing and Reshaping Matrices en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!