Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
aVec = [3.14 15 9 26];
bVec = [2.71;8;28;182];
ref = sqrt((aVec').^2+bVec.^2)
user = MyFunc();
assert(isequal(user,ref))
ref =
4.1477
17.0000
29.4109
183.8478
|
2 | Pass |
aRef = [3.14 15 9 26];
[yVec aVec] = MyFunc();
assert(isequal(aRef,aVec))
|
3 | Pass |
bRef = [2.71;8;28;182];
[yVec aVec bVec] = MyFunc();
assert(isequal(bRef,bVec))
|
829 Solvers
620 Solvers
07 - Common functions and indexing 4
319 Solvers
273 Solvers
327 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!