Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
%%
x = 2;
y_correct = 1.0986;
assert( (log1(x)-y_correct)<0.0001)
|
2 | Pass |
%%
x = 0;
y_correct = 0;
assert( (log1(x)-y_correct)<0.0001)
|
3 | Pass |
%%
x = 1;
y_correct = 0.6931;
assert( (log1(x)-y_correct)<0.0001)
|
4 | Pass |
%%
x = 9;
y_correct = 2.3026;
assert( (log1(x)-y_correct)<0.0001)
|
Create matrix of replicated elements
321 Solvers
177 Solvers
07 - Common functions and indexing 6
348 Solvers
498 Solvers
292 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!