Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
D = '5-Jan-2018';
y_correct = 1;
assert(isequal(Fri(D),y_correct))
|
2 | Pass |
D = '09/09/2019';
y_correct = 0;
assert(isequal(Fri(D),y_correct))
|
3 | Pass |
D = '2000-01-01';
y_correct = 0;
assert(isequal(Fri(D),y_correct))
|
4 | Pass |
D = '2020-12-25';
y_correct = 1;
assert(isequal(Fri(D),y_correct))
|
17220 Solvers
Change the sign of even index entries of the reversed vector
296 Solvers
348 Solvers
Rounding off numbers to n decimals
1050 Solvers
71 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!