How to find x and y limits of the equation matching a normalized fit function

2 ビュー (過去 30 日間)
Ann Oman
Ann Oman 2018 年 12 月 7 日
コメント済み: KSSV 2018 年 12 月 14 日
How do you find the maximum x value, and max y value if you are interested in replotting and/or extending the max and min values for this:
x=[1 2 3 1 2 3 1 2 3]'
y=[1 1 1 2 2 2 3 3 3]'
z=[1 3 2 6 10 5 2 4 3]'
f=fit([x,y],z, 'poly22','Normalize','on')
figure
plot(f, [x,y],z)
I have never found a good way to do it. Thanks!
Note borrowing from: https://www.mathworks.com/matlabcentral/answers/346575-max-value-of-poynomial-surface-fit?s_tid=prof_contriblnk
  2 件のコメント
Astha Singh
Astha Singh 2018 年 12 月 14 日
The statement does not make the query very clear. Are you looking for the maximum value of the surface plot? And what exactly is meant by 'extending the max and min values' here?
KSSV
KSSV 2018 年 12 月 14 日
YOu have it in hand already eh? The (x,y).

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeInterpolation についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by