Cody

Problem 2916. Matlab Basics II - Log and natural log

Created by Yaz Majeed in Community

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

38.29% Correct | 61.71% Incorrect
Last solution submitted on Jul 15, 2019