Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
%%
x = '1+.25/12+1.25^2'
y = '1/12+.25+2.25'
z=exactly(x,y)
z_correct = 1;
assert(isequal(z,z_correct))
x =
1+.25/12+1.25^2
y =
1/12+.25+2.25
z =
1
|
2 | Pass |
%%
x = '1+.25/12+1.25^2'
y = '1/12+.25000001+2.25'
z=exactly(x,y)
z_correct = 0;
assert(isequal(z,z_correct))
x =
1+.25/12+1.25^2
y =
1/12+.25000001+2.25
z =
0
|
Omit columns averages from a matrix
527 Solvers
Sum all integers from 1 to 2^n
8411 Solvers
middleAsColumn: Return all but first and last element as a column vector
387 Solvers
242 Solvers
Split a string into chunks of specified length
475 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!