Problem 2960. Divide by 4

Solution 854255

Submitted on 21 Mar 2016
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

Test Suite

Test Status Code Input and Output
1   Fail
x = 4; y= 1 y_correct = 1; assert(isequal(onefourthx(x),y_correct))

y = 1

Error using VisibleTest1 (line 4) Undefined function 'onefourthx' for input arguments of type 'double'.

Suggested Problems

More from this Author1