Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: density matrix conversion - vectorization
Date: Fri, 1 Aug 2008 15:59:03 +0000 (UTC)
Organization: NGC
Lines: 15
Message-ID: <g6vbs7$b4g$1@fred.mathworks.com>
References: <g6v9mp$g0r$1@news.dialog.net.pl>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-02-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1217606343 11408 172.30.248.37 (1 Aug 2008 15:59:03 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Fri, 1 Aug 2008 15:59:03 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1407177
Xref: news.mathworks.com comp.soft-sys.matlab:483137



UC-

So what do you actually want to do?  It sounds like you 
want:

Given M:

M = [10, 20; 30, 40]

V = [1,1,10;
     1,2,20;
     2,1,30;
     2,2,40]

????????????