Find value of variable in a equality

Hi, i have to estimate the sigma from here,
(dB) = (1/sqrt(2*pi*sigma))*exp(-(BW-m)²/2(sigma)²)
as you see is the gaussian densitiy function.
I know the value of (dB), and the (BW-m)² polynomial, so my question is,
How can I get the sigma value?
Thank you all, my first time here, it's an honor.

 Respuesta aceptada

José-Luis
José-Luis el 12 de Nov. de 2012
Editada: José-Luis el 12 de Nov. de 2012
This is not really a Matlab question. You could explicitely solve this equation using some arithmetic. That said, you could always use the symbolic toolbox to do that for you:
syms x dB val
solve(1/sqrt(2*pi*x)*exp(-(val/(2*x)))-dB)
ans =
-val/lambertw(0, -2*pi*dB^2*val)
You just need to replace val (BW-m)^2 and dB in that expression.

1 comentario

Lucas
Lucas el 13 de Nov. de 2012
That's what I needed, thank you so much José-Luis.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Curve Fitting Toolbox en Centro de ayuda y File Exchange.

Preguntada:

el 12 de Nov. de 2012

Community Treasure Hunt

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

Start Hunting!

Translated by