This solution is outdated. To rescore this solution, sign in.
Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
%%
aVec = [3.14 15 8 26];
bVec = [2.71;8;28;182];
ref = bVec*aVec;
user = MyFunc();
assert(isequal(user,ref))
|
2 | Pass |
%%
aRef = [3.14 15 8 26];
[xMat aVec] = MyFunc();
assert(isequal(aRef,aVec))
|
3 | Pass |
%%
bRef = [2.71;8;28;182];
[xMat aVec bVec] = MyFunc();
assert(isequal(bRef,bVec))
|
Determine whether a vector is monotonically increasing
11921 Solvers
given 3 sides, find area of this triangle
680 Solvers
1051 Solvers
Sum the 'edge' values of a matrix
232 Solvers
Find the dimensions of a matrix
372 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!