convert fit data to matrix
古いコメントを表示
So I created a table of x, y and z values and input them into fit using
f = fit([T.x, T.y],T.z,'cubicinterp')
they create the plot I would like but f is not a matrix for further processing.

Is there any way of getting z values for the fit object? I would like the output to be a 512x512 matrix
Sorry pretty new to matlab
回答 (1 件)
Sanket Karnik
2017 年 5 月 26 日
0 投票
I understand that you want to fetch the z values from the fit object. Please refer to the following link which speaks about obtaining y values from the curve fitting tool: Get Y values from Curve Fitting Tool
You can use use the same method to obtain z values from fit object.
1 件のコメント
David Pitcher
2017 年 5 月 26 日
カテゴリ
ヘルプ センター および File Exchange で Get Started with Curve Fitting Toolbox についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!