Write a function that calculates the difference between the log and natural log of a vector, to two decimal places
example:
x = [10, 100, 1000]
output = [1.3 2.61 3.91]
Solution Stats
Problem Comments
1 Comment
Solution Comments
Show comments
Loading...
Problem Recent Solvers194
Suggested Problems
-
Project Euler: Problem 1, Multiples of 3 and 5
3683 Solvers
-
Flip the main diagonal of a matrix
910 Solvers
-
Return elements unique to either input
811 Solvers
-
Getting the indices from a vector
12022 Solvers
-
Return the first and last characters of a character array
12050 Solvers
More from this Author28
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
In the description, the difference's terms are swapped