XPS data gaussian multipeak fit

조회 수: 8(최근 30일)
Babu Sankhi
Babu Sankhi 2021년 5월 2일
답변: Mohsen Tamtaji 2021년 11월 23일
Hello all,
I tried for the gaussion fit at the particular peak for the XPS data . But it didnt work it just give me straight line !! can you please help me how can I do that? The codes I tried are pasted below.
Thank you
plot (o1s1(:,1),o1s1(:,2));
x= o1s1(:,1);
startPoints = [1.5 900 10 0.6]
gaussEqn = 'a*exp(-((x-b)/c)^2)+d';
f1 = fit(x,y,gaussEqn,'Start', startPoints);
set ( gca, 'xdir', 'reverse' )
xlim([770 790])


Mohsen Tamtaji
Mohsen Tamtaji 2021년 11월 23일
I have the same question.
I thinks its better to use Origin pro for the XPS data.

Community Treasure Hunt

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

Start Hunting!

Translated by