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
17476 Solvers
Remove any row in which a NaN appears
6827 Solvers
The Answer to Life, the Universe, and Everything
383 Solvers
Matlab Basics II - Count rows in a matrix
255 Solvers
Approximate the cosine function
263 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!