Problem 1791. 02 - Vector Variables 1

Solution 2915914

Submitted on 5 Sep 2020
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   Fail
aVec = [3.14 15 9 26]; a = VectorFunc(); assert(isequal(a,aVec))

x = 3.1400 15.0000 9.0000 26.0000

Output argument "aVec" (and maybe others) not assigned during call to "VectorFunc". Error in Test1 (line 2) a = VectorFunc();

Suggested Problems

More from this Author26

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!