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
9980 Solvers
5753 Solvers
Back to basics 9 - Indexed References
396 Solvers
Return the first and last characters of a character array
3697 Solvers
Matlab Basics - Switching Assignments
175 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!