Cody

Solution 505357

Submitted on 26 Sep 2014 by Fumiaki
  • Size: 9
  • This is the leading solution.
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   Pass
%% a=10; ref = 1/(1+exp(-(a-15)/6)); user = MyFunc(); assert(isequal(user,ref))

varargout = [0.3029] [10] ans = []

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

varargout = [0.3029] [10] ans = []