フィルターのクリア

how to fit this surface ?

6 ビュー (過去 30 日間)
khushboo chhikara
khushboo chhikara 2018 年 4 月 30 日
回答済み: Ameer Hamza 2018 年 4 月 30 日
I want to fit this surface using gaussian.
filename='14 - sampleMap.xlsx';
[num,raw,txt] = xlsread(filename);
txt=cell2mat(txt)
figure,plot(num,'DisplayName','num')
figure,mesh(num)

回答 (1 件)

Ameer Hamza
Ameer Hamza 2018 年 4 月 30 日
You can use fit() function from Curve Fitting Toolbox. For Gaussian surface fitting use it as
fit([x, y], z, 'a*exp(-( ((x-b)/c)^2 + ((y-d)/e)^2 ) ) + f')
the character array specifies the general Gaussian function in 2D.

カテゴリ

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