Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: interpolate missing data
Date: Tue, 6 May 2008 16:17:02 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 14
Message-ID: <fvq09u$59o$1@fred.mathworks.com>
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 1210090622 5432 172.30.248.37 (6 May 2008 16:17:02 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Tue, 6 May 2008 16:17:02 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1376919
Xref: news.mathworks.com comp.soft-sys.matlab:466948



My matrix 

a = magic(4); a(2,2) = NaN ; a(3,3)=NaN

a =

    16     2     3    13
     5   NaN    10     8
     9     7   NaN    12
     4    14    15     1

is missing some data, how do I interpolate missing data 
along the columns?