Path: news.mathworks.com!newsfeed-00.mathworks.com!newsfeed2.dallas1.level3.net!news.level3.com!postnews.google.com!l14g2000vbe.googlegroups.com!not-for-mail
From: Tyler <hayes.tyler@gmail.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Circshift applied to columns by different amounts
Date: Fri, 16 Mar 2012 16:19:49 -0700 (PDT)
Organization: http://groups.google.com
Lines: 21
Message-ID: <d1f7cbf7-b8a5-496b-aed3-de9faeaaf007@l14g2000vbe.googlegroups.com>
References: <b4d6be8b-3520-4e7b-8d44-726651eddcd4@g2g2000vbs.googlegroups.com> <f10bc966-0bc5-4223-ba2e-2c11138dbced@p13g2000yqd.googlegroups.com>
NNTP-Posting-Host: 99.255.196.162
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
X-Trace: posting.google.com 1331940100 9080 127.0.0.1 (16 Mar 2012 23:21:40 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Fri, 16 Mar 2012 23:21:40 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: l14g2000vbe.googlegroups.com; posting-host=99.255.196.162; posting-account=Xy5uKgoAAACjOU6-q5ZkGYMKkLBhGhGt
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_8)
 AppleWebKit/535.11 (KHTML, like Gecko) Chrome/17.0.963.79 Safari/535.11,gzip(gfe)
Xref: news.mathworks.com comp.soft-sys.matlab:761268

Right. Okay, bad example. In reality its more like

a1 =
[1 2 3 4;
5 5 6 7;
1 3 4 NaN;
15 2 NaN NaN;
9 NaN NaN NaN];

and I'll need:

a1new = [
1 NaN NaN NaN;
5 2 NaN NaN;
1 5 3 NaN;
15 3 6 4;
9 2 4 7];

Sorry about that.... :$

t.