Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
%%
x = [45,45]
y_correct = 0
assert(isequal(your_fcn_name(x),y_correct))
x =
45 45
y_correct =
0
|
2 | Pass |
%%
x=[27,327]
y_correct=1/2
assert(isequal(your_fcn_name(x),y_correct))
x =
27 327
y_correct =
0.5000
|
3 | Pass |
%%
x=[546,273]
y_correct=1/3
assert(isequal(your_fcn_name(x),y_correct))
x =
546 273
y_correct =
0.3333
y =
0.3333
|
1726 Solvers
1263 Solvers
Rotate input square matrix 90 degrees CCW without rot90
380 Solvers
Matlab Basics - y as a function of x
339 Solvers
121 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!