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.

 採用された回答

José-Luis
José-Luis 2012 年 11 月 12 日
編集済み: José-Luis 2012 年 11 月 12 日

0 投票

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 件のコメント

Lucas
Lucas 2012 年 11 月 13 日
That's what I needed, thank you so much José-Luis.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

質問済み:

2012 年 11 月 12 日

Community Treasure Hunt

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

Start Hunting!

Translated by