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
-
Given an unsigned integer x, find the largest y by rearranging the bits in x
1654 Solvers
-
822 Solvers
-
Set the array elements whose value is 13 to 0
1338 Solvers
-
615 Solvers
-
278 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!