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)
36 次查看(过去 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!