Good idea to write matlab code as the other language like c.
Maybe I just don't have the matlab skills for this problem, but maybe the test suite is broken which makes it impossible to solve:
%%mkdir @function_handle
The test suite has been fixed. (The initial line is no longer commented out.)
Another problem in the test suite? The 2nd line in the test suite:
movefile submission/colon.m @function_handle
gives an error:
The function colon is a built-in MATLAB function. Please use a different function name.
Fixed.
Read a column of numbers and interpolate missing data
1250 Solvers
236 Solvers
Sum the entries of each column of a matrix which satisfy a logical condition.
139 Solvers
250 Solvers
Create a random logical vector of N elements of which M are true.
85 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!