Cody

Problem 45446. Create logarithmically spaced values (★)

Solution 3501094

Submitted on 1 Nov 2020 by Mehmet OZC
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

Test Suite

Test Status Code Input and Output
1   Pass
a = -2; b = 3; n = 6; y_correct = [0.01 0.1 1.0 10.0 100.0 1000.0]; assert(isequal(y_correct,logarithmic_spacing(a,b,n)))