Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
%%
x = 0:pi/10:2*pi;
y = sin(x);
z_correct = 1;
assert(isequal(find_max(x, y),z_correct))
|
2 | Pass |
%%
x = 0:pi/10:2*pi;
y = sqrt(x);
z_correct = sqrt(2*pi);
assert(isequal(find_max(x, y),z_correct))
|
3 | Pass |
%%
x = -10:1:0;
y = x.*x;
z_correct = 100;
assert(isequal(find_max(x, y),z_correct))
|
Maximum running product for a string of numbers
1112 Solvers
Determine if a Given Number is a Triangle Number
322 Solvers
725 Solvers
372 Solvers
Check that number is whole number
1070 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!