Cody

Problem 1806. 04 - Scalar Equations 1

Solution 2485136

Submitted on 6 Jun 2020 by Ramesh Kumar V
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))

c = 0.8333 x = 0.3029

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

c = 0.8333 x = 0.3029

Suggested Problems

More from this Author26

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!