How do I align two 3D curves that are displaced in time?
4 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
I have two 3D curves (trajectories) that are nearly identical. One curve is a subset of the other, that is, its end point coordinates are within the longer curve (I hope). The time data does not align between the two curves. How do I adjust the two curves so they overlay, so that I can update the times to match? I am dealing with latitude, longitude and altitude here.
If either endpoint of the shorter curve ends up extending outside the longer curve, I need to account for that too.
12 comentarios
Star Strider
el 8 de Ag. de 2024
If you expect the two to be linearly related (that they are inherently nonlinear is not important), ignore the times (or adjust the times and sampling intervals to start at the same value and have the same sampling frequency) and then do a linear fit using fitlm or regress or whatever linear or nonlinear regression function is appropriate, with overlapping ranges of the independent variables and equal numbers of observations. The parameter values and related statistics should give you an idea of how (and how closely) they are related.
Without the data (or a representative data set), this is simply a guess as to an appropriate approach.
dpb
el 8 de Ag. de 2024
"Without the data (or a representative data set), this is simply a guess..."
+1/0
Respuestas (0)
Ver también
Categorías
Más información sobre Fit Postprocessing 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!