Having trouble making a for loop equation
1 回表示 (過去 30 日間)
古いコメントを表示
回答 (1 件)
David H
2020 年 6 月 9 日
It isn't obvious what you are trying to do, you have a 3D function and want to fit an order 8 polynomial to it in z only?
- In case you want to fit a 240 by 320 array of polynomials for every single slice through that array, loop over the x and y positions
- In case you want to fit a 3 D polynomial you might want to look at https://www.mathworks.com/matlabcentral/fileexchange/34765-polyfitn
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Polynomials についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!