MATLAB: How MATLAB move between discrete measurements
graphinterpolationspline
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.
Best Answer
See my spline demo, attached, which will produce the plot below:
The red are the original data points, and the blue are the spline interpolated points. You can take the markers off the blue curve, and not plot the red curve, and plot the original data with big blue dots and it will look just like your curve.
Unfortunately, there are not default functions or tools that have this functionality as of R2017a. Here is some code to be able to do this. Attached is a function where you can click and drag points on the graph plotted. Try the following:
Best Answer