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

3 Ansichten (letzte 30 Tage)
saeid haghighipour
saeid haghighipour am 19 Okt. 2019
Kommentiert: Image Analyst am 19 Okt. 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!

Akzeptierte Antwort

Image Analyst
Image Analyst am 19 Okt. 2019
Start by running my spline demo. Adapt as needed.
  2 Kommentare
saeid haghighipour
saeid haghighipour am 19 Okt. 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 am 19 Okt. 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);

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Spline Postprocessing finden Sie in Help Center und File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by