Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
x = 'Do you like your boss?';
y_correct = 'Any String!';
assert(isequal(isstr(YourBoss(x)),isstr(y_correct)))
ans =
0×0 empty char array
|
2 | Pass |
x = 'Does your boss smell funny?';
y_correct = 'Any String!';
assert(isequal(isstr(YourBoss(x)),isstr(y_correct)))
ans =
0×0 empty char array
|
3 | Pass |
x = 'Is your boss a man or a woman?';
y_correct = 'Any String!';
assert(isequal(isstr(YourBoss(x)),isstr(y_correct)))
ans =
0×0 empty char array
|
4 | Pass |
x = 'Is your boss mean or nice?';
y_correct = 'Any String!';
assert(isequal(isstr(YourBoss(x)),isstr(y_correct)))
ans =
0×0 empty char array
|
5 | Pass |
x = 'Do you see your boss often?';
y_correct = 'Any String!';
assert(isequal(isstr(YourBoss(x)),isstr(y_correct)))
ans =
0×0 empty char array
|
6 | Pass |
x = 'If your boss were an animal, what type of animal would he or she be?';
y_correct = 'Any String!';
assert(isequal(isstr(YourBoss(x)),isstr(y_correct)))
ans =
0×0 empty char array
|
7 | Pass |
x = 'On a scale from one to ten, where does your boss rank?';
y_correct = 'Any String!';
assert(isequal(isstr(YourBoss(x)),isstr(y_correct)))
ans =
0×0 empty char array
|
8 | Pass |
x = 'Maybe you are your own boss...';
y_correct = 'Any String!';
assert(isequal(isstr(YourBoss(x)),isstr(y_correct)))
ans =
0×0 empty char array
|
9 | Pass |
x = 'Maybe your boss is standing behind you, with that glare on his face, tapping his foot with his arms folded...';
y_correct = 'Any String!';
assert(isequal(isstr(YourBoss(x)),isstr(y_correct)))
ans =
0×0 empty char array
|
Back to basics 25 - Valid variable names
293 Solvers
Create a square matrix of multiples
383 Solvers
middleAsColumn: Return all but first and last element as a column vector
387 Solvers
227 Solvers
307 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!