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?

 Respuesta aceptada

Más respuestas (0)

Categorías

Más información sobre Exponents and Logarithms en Centro de ayuda y File Exchange.

Productos

Versión

R2022b

Etiquetas

Preguntada:

el 2 de Sept. de 2023

Comentada:

el 2 de Sept. de 2023

Community Treasure Hunt

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

Start Hunting!

Translated by