Solving for an x value using ppval
古いコメントを表示
I have created a linear piecewise function using interp1 which works beautifully given the x value. Is there a way for which I could solve for an x value given the Y value? Example:
hotStreamInterp = interp1(B,Hhotpt, 'linear', 'pp')';
x = fsolve(480 = ppval(hotStreamInterp, x_unknown));
How could I properly write this? Thank you.
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Interpolation についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!