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)))
ans =
1.0e+03 *
0.0000 0.0001 0.0010 0.0100 0.1000 1.0000
|
2261 Solvers
Duplicate each element of a vector.
518 Solvers
238 Solvers
664 Solvers
43 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!