Jon Norberg Mon, 27 Jan 2014 14:25:54 -0800
rand(10).*rand(10,30) but
sv=sparsevec([3,5,7],[0.1,0.0,3.2],4) sv.*sprand(4,20,0.1) sprandbool(10, 1, 0.1).*sprand(10,30,0.1) rand(10).*sprand(10,30,0.1) all give Incompatible sizes Is my syntax wrong?