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)
39 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Can you guide me about log4(0.85) 4 is writen below the log
0 commentaires
Réponses (1)
Karim
le 20 Sep 2022
You can create a function handle to eval the desired base:
log4_fun = @(x) log(x) / log(4)
log4_fun(0.85)
0 commentaires
Voir également
Catégories
En savoir plus sur Migrate GUIDE Apps dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!