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
28521 Solvers
973 Solvers
Matlab Basics - Convert a row vector to a column vector
436 Solvers
2745 Solvers
Tick. Tock. Tick. Tock. Tick. Tock. Tick. Tock. Tick. Tock.
769 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!