Cody

Problem 45446. Create logarithmically spaced values (★)

Solution 2208196

Submitted on 13 Apr 2020 by Peiyi Yao
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)))