The behavior of the test environment is strange. It doesn't accept syntaxes like
function superfast
...
which my 2014a MATLAB has no problems with. I had to use
y = superfast(x)
even though there is no input or output.
Find all elements less than 0 or greater than 10 and replace them with NaN
13134 Solvers
104 Solvers
Sum the entries of each column of a matrix which satisfy a logical condition.
139 Solvers
234 Solvers
330 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!