10 X 10 banded and dense matricies

10 X 10 banded and dense matricies

Hi. I want to creat 10 x 10 banded and dense matricies seperately.
Thank you so much.

10 X 10 banded and dense matricies

matlab does not know about banded matrices. it only knows about full and
sparse matrices. what do you want to do with them? if you ask something,
then do it by posting a REAL question, where it is possible to give an

michael

10 X 10 banded and dense matricies

Hi, Michael. Thank you for your response. I need to create a 100 x 100
banded and dense matricies and then calculate the condition number for
each matricies. For the sparse matrix, I know that sprand (m, n ,
density) command. I am not sure how to create banded matrix with a big
dimension. A dense matrix means that a matrix with non-zero componts.
In that case, can I just use rand (10, 10) for any numbers? Any hint
for me?

Thanks

10 X 10 banded and dense matricies

spdiags will generate banded matrices in sparse form.

HTH,
John D'Errico

--
The best material model of a cat is another, or preferably the same, cat.
A. Rosenblueth, Philosophy of Science, 1945

Those who can't laugh at themselves leave the job to others.
Anonymous

10 X 10 banded and dense matricies

In article <woodchips-8A88C2.17191115022006@syrcnyrdrs-03-
ge0.nyroc.rr.com>, XXXX@XXXXX.COM says...

and use diag for full matrices.

--
Loren
http://www.yqcomputer.com/

10 X 10 banded and dense matricies

or if you don't want random sparse matrices, spdiags.

michael