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.

 Akzeptierte Antwort

José-Luis
José-Luis am 12 Nov. 2012
Bearbeitet: José-Luis am 12 Nov. 2012

0 Stimmen

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 Kommentar

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

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by