Path: news.mathworks.com!not-for-mail
From: "us " <us@neurol.unizh.ch>
Newsgroups: comp.soft-sys.matlab
Subject: Re: creating a sparse matrix from a file
Date: Mon, 5 May 2008 23:34:03 +0000 (UTC)
Organization: Universit&#228;tsSpital Z&#252;rich
Lines: 14
Message-ID: <fvo5ha$1rm$1@fred.mathworks.com>
References: <2b89e1a3-a4f7-47ae-b8e0-571a8aa640d1@h1g2000prh.googlegroups.com>
Reply-To: "us " <us@neurol.unizh.ch>
NNTP-Posting-Host: webapp-03-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1210030443 1910 172.30.248.38 (5 May 2008 23:34:03 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Mon, 5 May 2008 23:34:03 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 11
Xref: news.mathworks.com comp.soft-sys.matlab:466801


akshay bhat:
<SNIP sparse mat from a list of indices...

> i have a list in following form (in a csv file)
> 12,54
> 3,4
> i trying to create a sparse matrix by using following code
> smat(12,54)=1;

a hint:

     help spconvert;

us