XPS data gaussian multipeak fit

21 visualizaciones (últimos 30 días)
Babu Sankhi
Babu Sankhi el 2 de Mayo de 2021
Respondida: Mohsen Tamtaji el 23 de Nov. de 2021
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
o1s1=importdata("Co2p_002.txt");
plot (o1s1(:,1),o1s1(:,2));
x= o1s1(:,1);
fgh=flip(x);
y=o1s1(:,2)-mean(o1s1(:,2));
startPoints = [1.5 900 10 0.6]
gaussEqn = 'a*exp(-((x-b)/c)^2)+d';
f1 = fit(x,y,gaussEqn,'Start', startPoints);
plot(f1,(x),(y));
set ( gca, 'xdir', 'reverse' )
xlim([770 790])

Respuestas (1)

Mohsen Tamtaji
Mohsen Tamtaji el 23 de Nov. de 2021
Hello
I have the same question.
I thinks its better to use Origin pro for the XPS data.

Categorías

Más información sobre Big Data Processing en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by