This solution is outdated. To rescore this solution, sign in.
Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
%%
aVec = [3.14 15 8 26];
a = VectorFunc();
assert(isequal(a,aVec))
ans =
3.1400 15.0000 8.0000 26.0000
|
Duplicate each element of a vector.
518 Solvers
3071 Solvers
480 Solvers
450 Solvers
232 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!