> Ok, this was a lot more work than I though it would be, but here is the
> patch. Basically it allows scalars to be stored in a sparse matrix
> container and to be treated as if they were scalars. This is necessary
> as Mathworks chose the path of letting the user store scalars as sparse
> matrices rather than automatically reconverting these to scalars. In any
> case the attached patch makes octave matlab compatible for scalars
> stored as sparse matrices for all operators...
But it does not solve the fact that (note element-wise division):