How to plot shape preserving interpolants for multiple data variables in a single plot
9 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Ryan Ferdinandez
el 2 de Sept. de 2021
Respondida: Sulaymon Eshkabilov
el 3 de Sept. de 2021
I have a data set of 7 columns as Time and var1, var2,......,var6. and I have plot the graphs of Time vs var1, Var2,......,Var6 in the same plot. And i want to plot the induvidual shape preserving interpolants of each data plots of Time vs var1, Time vs var2, ........, Time vs var6 in the same plot.
As thown in the sample data, i want to draw the shape preserving interpolants of both the above plots in the same diagram.
Is it possible to do so, if so how should i do it.
Thank you for consideration!
2 comentarios
Matt J
el 2 de Sept. de 2021
I'm not sure anyone knows what you mean by a "shape preserving interpolant". Do you mean you want to fit each of var1...var6 with a smooth wave? If so, what is the model function for the wave?
Respuestas (1)
Sulaymon Eshkabilov
el 3 de Sept. de 2021
Probably in your exercise, you can try one of the data smoothing filters, such as moving average or band-pass filters.
0 comentarios
Ver también
Categorías
Más información sobre Get Started with Curve Fitting Toolbox 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!