Borrar filtros
Borrar filtros

Help me to fit my plot with pseudo-voigt function.

29 visualizaciones (últimos 30 días)
Mirtunjay Kumar
Mirtunjay Kumar el 12 de Abr. de 2017
Respondida: kk el 18 de Jun. de 2018
There are peak functions like Pseudo-Voigt function y = y0 + A * ( mu * (2/pi) * (w / (4*(x-xc)^2 + w^2)) + (1 - mu) * (sqrt(4*ln(2)) / (sqrt(pi) * w)) * exp(-(4*ln(2)/w^2)*(x-xc)^2) )
These functions are widely available in OriginLab. I have plotted (x,y) but unable to fit above equation and get the constants. How to fit this equation to graph and get these variables y0,xc,A,w and mu.

Respuestas (1)

kk
kk el 18 de Jun. de 2018
Hello, I found your pseudo-Voigt function and it seems to be working with a few small changes if x is a column vector: y = A*(mu*(2/pi)*(w./(4*(x-xc).^2 + w^2)) + (1 - mu)*(sqrt(4*log(2))/(sqrt(pi)*w))*exp(-(4*log(2)/w^2).*(x-xc).^2))

Categorías

Más información sobre Mathematics 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