Is there a matlab command to Extract function of a plot
13 ビュー (過去 30 日間)
古いコメントを表示
Hello All
Sorry if this is posted before. I have attempted to search and read through as many posts as possible, to find a post that relates to my issue. Basically I have a set of x y z data, which I have managed to produce a surface and contour plot from. Now I need to generate a function that closely describes the plot that I have.
Therefore my questions is this: Is there a command or method within matlab that allows you to generate or extract the function of a plot from the x y and z data? Thank you
Kind Regards
Kush
0 件のコメント
回答 (3 件)
Walter Roberson
2011 年 9 月 12 日
No, and there cannot be: there is always a (literally) infinite number of different functions that match any finite set of data.
The Curve Fitting Toolbox that Fangjun mentioned is suitable for a different situation, in which one already knows the form of the function that generated the values, and is trying to determine the coefficients that best match that general form to the data. That is (often) practical, but when one does not know the form of the function ahead of time, the data alone is not sufficient to allow you to determine the form of the function.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Surface and Mesh Plots についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!