Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
%%
a=10;
b=2.5e23;
ref = (sqrt(a)+b^(1/21))^pi;
user = MyFunc();
assert(isequal(user,ref))
ans =
[]
|
2 | Pass |
%%
[y a b] = MyFunc();
assert(a==10);
ans =
[]
|
3 | Pass |
%%
[y a b] = MyFunc();
assert(b==2.5e23);
ans =
[]
|
3895 Solvers
Back to basics 23 - Triangular matrix
634 Solvers
Celsius to Fahrenheit converter
389 Solvers
505 Solvers
259 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!