How to plot shape preserving interpolants for multiple data variables in a single plot
Show older comments
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 Comments
Matt J
on 2 Sep 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?
Ryan Ferdinandez
on 3 Sep 2021
Edited: Ryan Ferdinandez
on 3 Sep 2021
Answers (1)
Sulaymon Eshkabilov
on 3 Sep 2021
0 votes
Probably in your exercise, you can try one of the data smoothing filters, such as moving average or band-pass filters.
Categories
Find more on Surface and Mesh Plots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!