Cody

Problem 2916. Matlab Basics II - Log and natural log

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.24% Correct | 61.76% Incorrect
Last Solution submitted on Jul 13, 2020