Cody

Problem 42606. UICBioE240 problem 1.12

Solution 764747

Submitted on 20 Oct 2015
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 = 7; y_correct = [exp(x) log(x) log10(x)]; [y_e,y_ln,y_log] = your_fcn_name(x); y = [y_e,y_ln,y_log]; assert(sum(abs(y-y_correct))<1e-3)

Error: You may not use the command(s) feval in your code

2   Fail
x = 11; y_correct = [exp(x) log(x) log10(x)]; [y_e,y_ln,y_log] = your_fcn_name(x); y = [y_e,y_ln,y_log]; assert(sum(abs(y-y_correct))<1e-3)

Error: You may not use the command(s) feval in your code

3   Fail
x = 17; y_correct = [exp(x) log(x) log10(x)]; [y_e,y_ln,y_log] = your_fcn_name(x); y = [y_e,y_ln,y_log]; assert(sum(abs(y-y_correct))<1e-3)

Error: You may not use the command(s) feval in your code

4   Fail
x = 42; y_correct = [exp(x) log(x) log10(x)]; [y_e,y_ln,y_log] = your_fcn_name(x); y = [y_e,y_ln,y_log]; assert(sum(abs(y-y_correct))<1e-3)

Error: You may not use the command(s) feval in your code

5   Fail
x = 101; y_correct = [exp(x) log(x) log10(x)]; [y_e,y_ln,y_log] = your_fcn_name(x); y = [y_e,y_ln,y_log]; assert(sum(abs(y-y_correct))<1e-3)

Error: You may not use the command(s) feval in your code