Interpolation of a set of x , y data to a curve
4 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
saeid haghighipour
le 19 Oct 2019
Commenté : Image Analyst
le 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 commentaires
Réponse acceptée
Image Analyst
le 19 Oct 2019
Start by running my spline demo. Adapt as needed.
2 commentaires
Image Analyst
le 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);
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Splines dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!