formula for changing the base of a logarithm is: loga(N) = (logb(N))/(logb(a)) (a) Use MATLAB's function log (x) to calculate log4(0.085)
조회 수: 74 (최근 30일)
이전 댓글 표시
Can you guide me about log4(0.85) 4 is writen below the log
댓글 수: 0
답변 (1개)
Karim
2022년 9월 20일
You can create a function handle to eval the desired base:
log4_fun = @(x) log(x) / log(4)
log4_fun(0.85)
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Migrate GUIDE Apps에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!