Interpolation of a set of x , y data to a curve

3 views (last 30 days)
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!

Accepted Answer

Image Analyst
Image Analyst on 19 Oct 2019
Start by running my spline demo. Adapt as needed.
  2 Comments
saeid haghighipour
saeid haghighipour on 19 Oct 2019
thanks!
As IEC standard I should find a point on interpolated curve which resolve this situation:
if X present value preseeds 1.5 times of it's previous value , the Y new value of this point preceeds 1.1 times of previous value.
do you know how can I find such point on this curve?
Image Analyst
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);

Sign in to comment.

More Answers (0)

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!