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?

更多回答(0 个)

类别

帮助中心File Exchange 中查找有关 Exponents and Logarithms 的更多信息

产品

版本

R2022b

标签

Community Treasure Hunt

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

Start Hunting!

Translated by