Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
filetext = fileread('iscol.m');
assert(isempty(strfind(filetext, 'iscolumn(')),'mean forbidden')
assert(isempty(strfind(filetext, 'iscolumn (')),'mean forbidden')
assert(isempty(strfind(filetext, '...')),'... forbidden')
|
2 | Pass |
x = [2 3];
y_correct = 0;
assert(isequal(iscol(x),y_correct))
ans =
logical
0
|
3 | Pass |
x = [2 3]';
y_correct = 1;
assert(isequal(iscol(x),y_correct))
ans =
logical
1
|
4 | Pass |
x = [1];
y_correct = 1;
assert(isequal(iscol(x),y_correct))
ans =
logical
1
|
Extract leading non-zero digit
1205 Solvers
Program an exclusive OR operation with logical operators
639 Solvers
516 Solvers
579 Solvers
Find out sum of prime number till given number
125 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!