is it possible to generate random ill-conditioned sparse matrix in MATLAB?

289 Views Asked by At

I know how to generate ill-conditioned dense matrices (use 'gallery'). I do not know how to generate ill-conditioned sparse matrices. Anyone help?