sparse matrix division (least squares)
Rishi Amrit
rishiamrit at gmail.com
Mon Mar 30 11:05:02 CDT 2009
Hi,
I have two sparse matrices (say A and B).
> size(A)
ans =
2400 2400
> size(B)
ans =
2400 2440
I wish to implement the least squares operator : A\B
When I run this in MATLAB, I get
> size(A\B)
ans =
2440 2400
and A\B is a sparse matrix.
When I implement this in octave, I get
> A\B
ans = Compressed Column Sparse (rows = 0, cols =0, nnz = 0)
which is empty.
Is there a separate function in octave for this operation on sparse matrices
?
Thanks,
Rishi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www-old.cae.wisc.edu/pipermail/help-octave/attachments/20090330/49058420/attachment.html
More information about the Help-octave
mailing list