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 Solvers62
Suggested Problems
-
Find all elements less than 0 or greater than 10 and replace them with NaN
15765 Solvers
-
470 Solvers
-
292 Solvers
-
Find the index of the largest value in any vector X=[4,3,4,5,9,12,0,4.....5]
395 Solvers
-
Change the first and last diagonal element of the identity matrix to zero
158 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!