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)
10 ビュー (過去 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 で Data Logging についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!