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?

 Akzeptierte Antwort

Weitere Antworten (0)

Kategorien

Mehr zu Exponents and Logarithms finden Sie in Hilfe-Center und File Exchange

Produkte

Version

R2022b

Gefragt:

am 2 Sep. 2023

Kommentiert:

am 2 Sep. 2023

Community Treasure Hunt

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

Start Hunting!

Translated by