How MATLAB move between discrete measurements
Show older comments
Hi there
when we have discrete measurements of speed or temperature, based on what MATLAB draw a scatter curve between these points ?
Thanks in advance.
Accepted Answer
More Answers (1)
dpb
on 19 Dec 2014
1 vote
By plot, scatter, etc., simply straight line interpolation between points.
Use cftool or one of the specific fitting methods to fit a functional form or could use interp1 and an interpolating option other than linear to do some other form.
5 Comments
ameen
on 21 Dec 2014
dpb
on 21 Dec 2014
Well, can't see your monitor from here...what did you do to create the plot?
ameen
on 21 Dec 2014
dpb
on 21 Dec 2014
Well, clearly it was something other than straight line -- but you still didn't say what specific function you used to create the plot. There are many possible choices; which you did, specifically, I have no idea unless you show/tell us what you used as I said in the very first response.
That looks like it probably was a smoothing spline, given the shape of the curve, however.
Again, how, specifically, did you create the plot in Matlab?
ameen
on 22 Dec 2014
Categories
Find more on Spline Postprocessing 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!
