There is a mistake in your test suite test 3.
Please correct it.
Hi, No mistake in test suit 3, a vector can be a column vector or row vector.
Suit number 3 is completely okay.
Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
x = [1 2 3 1];
y_correct = 1;
assert(isequal(checkvector(x),y_correct))
|
2 | Pass |
x = [1 2 7; 6 3 1];
y_correct = 0;
assert(isequal(checkvector(x),y_correct))
|
3 | Fail |
x = [1;2;0];
y_correct = 1;
assert(isequal(checkvector(x),y_correct))
|
Find the alphabetic word product
2321 Solvers
How many trades represent all the profit?
520 Solvers
340 Solvers
07 - Common functions and indexing 6
348 Solvers
Matlab Basics - Absolute Value
360 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!