Defining equations with interpolant cfit model (ex. linearinterp, pchipinterp)
Afficher commentaires plus anciens
Hi,
does anyone know how to define equations to be used in solve or vpasolve using interpolant cfit model?
I have pchipinterp (pchip_int_fn) and linearinterp (lin_int_fn) cfit models from my raw data and I want to define an equation like the following:
syms x y z
eqn = x*pchip_int_fn(x)*lin_int_fn(x) + y*pchip_int_fn(y)*lin_int_fn(y) + x*pchip_int_fn(z)*lin_int_fn(z) == 0
solve(eqn)
Matlab gives me an error message saying
"Error using cfit/subsref>iParenthesesReference (line 46)
Cannot evaluate CFIT model for some reason.
Error in cfit/subsref (line 16)
out = iParenthesesReference( obj, currsubs );"
Does anyone know how to resolve this issue?
Thank you so much for your help!
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Systems of Nonlinear Equations dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!