Problem 43585. Logarithm with base other than 'e'
The standard log() function in Matlab returns the natural logarithm (base equal to Euler's constant). Compute the logarithm for input x give an arbitrary base passed to the function.
Solution Stats
Problem Comments
-
1 Comment
goc3
on 1 Dec 2016
The problem description has been improved and more test cases were added.
Solution Comments
Show commentsProblem Recent Solvers60
Suggested Problems
-
Replace NaNs with the number that appears to its left in the row.
2925 Solvers
-
convert matrix to single column
395 Solvers
-
Find the index of n in magic(n)
233 Solvers
-
Matlab Basics - Set unwanted parts of a vector to zero
240 Solvers
-
Basic commands - amount of inputs
171 Solvers
More from this Author9
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!