MATLAB Answers

Implement equation and solve variable

2 views (last 30 days)
Manuel
Manuel on 28 Feb 2014
Edited: Anuj on 28 Feb 2014
Dear Community,
I need to implement the next equation in Matlab:
ENOB = log2 (((2^B)*((2^L+1)^(1/2))*R^(L+0.5))/pi^L)
And from the input variables B, ENOB and R, extract the Output L. Any idea about how to make it?
Thanks in advance,

Accepted Answer

Anuj
Anuj on 28 Feb 2014
syms L
ENOB=input('ENOB ');
R=input('R ');
B=input('B ');
solve(ENOB - (log2 (((2^B)*((2^L+1)^(1/2))*R^(L+0.5))/pi^L)))
  3 Comments
Manuel
Manuel on 28 Feb 2014
Thank you very much, It works :)

Sign in to comment.

More Answers (0)

Categories

Community Treasure Hunt

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

Start Hunting!