This solution is outdated. To rescore this solution, sign in.
-
2 Comments
Daniel Pereira
on 20 Nov 2015
Don't know why an empty matrix 1-by-0 is not equal to the empty matrix [].
Jan Orwat
on 20 Nov 2015
[] is 0-by-0. mtimes(ones(1,0), ones(0,1)) equals 0, mtimes([], ones(0,1)) is empty 0-by-1. This is one of the reasons.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!