Interpolation of a set of x , y data to a curve
6 views (last 30 days)
Show older comments
saeid haghighipour
on 19 Oct 2019
Commented: Image Analyst
on 19 Oct 2019
I want to interpolate a set of data which are x , y points of a hystersis plot.
please help me how can I find best interpolation in such case and after that how can I find it's slope to find knee point?
thanks!
0 Comments
Accepted Answer
Image Analyst
on 19 Oct 2019
Start by running my spline demo. Adapt as needed.
2 Comments
Image Analyst
on 19 Oct 2019
Did you mean Y instead of X? I'm thinking so. If so, try this:
indexes = Y(2:end) > 1.5 * Y(1:end-1);
Y(indexes) = 1.1 * Y(indexes - 1);
If you really meant what you said, then replace Y by X in the first equation:
indexes = X(2:end) > 1.5 * X(1:end-1);
Y(indexes) = 1.1 * Y(indexes - 1);
More Answers (0)
See Also
Categories
Find more on Splines 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!