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 273373

Submitted on 4 Jul 2013

Incorrect

8Size
Leading solution size is 8.
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
Fail
 
%%
x = 'But I''m actually right this time';
y_correct = 'yes';
assert(isequal(wiferight(x),y_correct))
Error: Output argument "out" (and maybe others) not assigned during call to "/users/msssystem10/wiferight.m>wiferight".
2
Fail
 
%%
x = 'But you just said that 2+2=3';
y_correct = 'yes';
assert(isequal(wiferight(x),y_correct))
Error: Output argument "out" (and maybe others) not assigned during call to "/users/msssystem10/wiferight.m>wiferight".