Logarithm with a variable base

I want to make a logarithm that has a variable as its base, like:
k=2
logk(8)
ans =
3
How can I do that?

Più risposte (0)

Categorie

Prodotti

Release

R2022b

Richiesto:

il 2 Set 2023

Commentato:

il 2 Set 2023

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by