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
-
Return the 3n+1 sequence for n
8227 Solvers
-
563 Solvers
-
Add a row of zeros on top of a matrix
247 Solvers
-
Matlab Basics II - Extract last 3 elements of a vector
239 Solvers
-
Write a code that will follow the equation y = x * (x + x) * x.
326 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!