Covering some basic topics I haven't seen elsewhere on Cody.
Remove the trailing white spaces from the input variable
strtrim not working pls help me
Three years late here, but strtrim removes both leading and trailing white spaces. The test here is for the trailing scenario only.
Three and a bit years late too, but there may be a bigger problem with strtrim here, which is that apparently strtrim does not remove "null characters" (whether leading or trailing). This wasn't specifically required by the problem statement, but judging by test 3 it is needed here, and thus it seems that strtrim is especially unsuitable for test 3 (cf. Solution 1393480).
2110 Solvers
The Hitchhiker's Guide to MATLAB
2692 Solvers
middleAsColumn: Return all but first and last element as a column vector
308 Solvers
Output any real number that is neither positive nor negative
250 Solvers
Create a two dimensional zero matrix
274 Solvers