Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
%%
dVec = logspace(0,1,101);
d = VectorFunc();
assert(isequal(d,dVec))
ans =
Columns 1 through 10
1.0000 1.0233 1.0471 1.0715 1.0965 1.1220 1.1482 1.1749 1.2023 1.2303
Columns 11 through 20
1.2589 1.2882 1.3183 1.3490 1.3804 1.4125 1.4454 1.4791 1.5136 1.5488
Columns 21 through 30
1.5849 1.6218 1.6596 1.6982 1.7378 1.7783 1.8197 1.8621 1.9055 1.9498
Columns 31 through 40
1.9953 2.0417 2.0893 2.1380 2.1878 2.2387 2.2909 2.3442 2.3988 2.4547
Columns 41 through 50
2.5119 2.5704 2.6303 2.6915 2.7542 2.8184 2.8840 2.9512 3.0200 3.0903
Columns 51 through 60
3.1623 3.2359 3.3113 3.3884 3.4674 3.5481 3.6308 3.7154 3.8019 3.8905
Columns 61 through 70
3.9811 4.0738 4.1687 4.2658 4.3652 4.4668 4.5709 4.6774 4.7863 4.8978
Columns 71 through 80
5.0119 5.1286 5.2481 5.3703 5.4954 5.6234 5.7544 5.8884 6.0256 6.1660
Columns 81 through 90
6.3096 6.4565 6.6069 6.7608 6.9183 7.0795 7.2444 7.4131 7.5858 7.7625
Columns 91 through 100
7.9433 8.1283 8.3176 8.5114 8.7096 8.9125 9.1201 9.3325 9.5499 9.7724
Column 101
10.0000
|
Return the 3n+1 sequence for n
6170 Solvers
Back to basics 3 - Temp Directory
328 Solvers
Remove the two elements next to NaN value
411 Solvers
Fahrenheit to Celsius converter
358 Solvers
2781 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!