Hello, Shaul Salomon. I suggest testing for an empty return variable w, rather than requiring w = [], which is not the same thing. See Solution 1538012, which produces a 0×1 empty column vector. —DIV
Find the sum of all the numbers of the input vector
31969 Solvers
Return the first and last character of a string
3459 Solvers
Convert from Base 10 to base 5
203 Solvers
Finding perimeter of a rectangle
278 Solvers
555 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!