Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Solution 382439

Submitted on 9 Jan 2014 by Ziko

Correct

32Size
Leading solution size is 13.
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

Test Suite

Test
Code Input and Output
1
Pass
 
%%
a=10;
b=2.5e23;
ref = (sqrt(a)+b^(1/21))^pi;
user = MyFunc();
assert(isequal(user,ref))

                    
2
Pass
 
%%
[y a b] = MyFunc();
assert(a==10);

                    
3
Pass
 
%%
[y a b] = MyFunc();
assert(b==2.5e23);