Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: interpolation for matix
Date: Thu, 10 Sep 2009 15:57:19 +0000 (UTC)
Organization: UTSA
Lines: 10
Message-ID: <h8b7kv$6c3$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-05-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1252598239 6531 172.30.248.35 (10 Sep 2009 15:57:19 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Thu, 10 Sep 2009 15:57:19 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1332985
Xref: news.mathworks.com comp.soft-sys.matlab:569603


The example like 
x1=[1 2; 3 4];
x2=[2 4; 6 8];
x3=[4 3; 2 1];
x4=[5 8; 9 3];
X=cat(3, x1,x2,x3,x4);
Y=[1 3 6 9];
if  xi=[2.3 9; 3.2 2.8];
how to interpolate xi in X to get yi ?
in this example, yi should be a 2x2 matrix.