solve matlab equation( 512*512*log2(B))/2>==520000
조회 수: 2 (최근 30일)
이전 댓글 표시
sir i am new to this matlab i want to satisfy the equation (512*512*log2(B))/>=520000 by keeping what value of B this equation will be satisfied answer is 16 .. i want how to do code for this equation in matlab by taking B values automatically to satisfy this equation
댓글 수: 0
답변 (2개)
Star Strider
2014년 4월 2일
The easiest way is to take the base-2 antilog of both sides. You get the answer directly:
B = 2^(2*520000/(512^2))
gives:
B =
15.6413e+000
댓글 수: 1
A Jenkins
2014년 4월 2일
That was going to be my next proposal too, but then we are just teaching math, and not "code for this equation in matlab by taking B values automatically to satisfy this equation".
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!