Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
%%
x = [1 2 3];
y_correct = '123';
assert(isequal(your_fcn_name(x),y_correct))
ans =
123
|
2 | Pass |
%%
x = [7 8 8 0 3];
y_correct = '78803';
y = your_fcn_name(x);
assert(isequal(y_correct,y))
ans =
78803
|
3 | Pass |
%%
x = [8 4];
y_correct = '84';
y = your_fcn_name(x);
assert(isequal(y_correct,y))
ans =
84
|
4 | Pass |
%%
x = [1 2 1 1 8 5];
y_correct = '121185';
y = your_fcn_name(x);
assert(isequal(y_correct,y))
ans =
121185
|
5 | Pass |
%%
x = [1 8 6 3];
y_correct = '1863';
y = your_fcn_name(x);
assert(isequal(y_correct,y))
ans =
1863
|
6 | Pass |
%%
x = [4 0 2 1];
y_correct = '4021';
y = your_fcn_name(x);
assert(isequal(y_correct,y))
ans =
4021
|
7 | Pass |
%%
x = [2 4];
y_correct = '24';
y = your_fcn_name(x);
assert(isequal(y_correct,y))
ans =
24
|
8 | Pass |
%%
x = 9;
y_correct = '9';
y = your_fcn_name(x);
assert(isequal(y_correct,y))
ans =
9
|
Find all elements less than 0 or greater than 10 and replace them with NaN
13054 Solvers
Remove any row in which a NaN appears
6827 Solvers
Create a Multiplication table matrix...
283 Solvers
248 Solvers
Celsius to Fahrenheit converter
389 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!