Path: news.mathworks.com!not-for-mail
From: "Bruno Luong" <b.luong@fogale.findmycountry>
Newsgroups: comp.soft-sys.matlab
Subject: Re: how solve a tridiagonal equation system when we are in three dimensional space?
Date: Sat, 13 Apr 2013 16:02:08 +0000 (UTC)
Organization: FOGALE nanotech
Lines: 11
Message-ID: <kkbvi0$l32$1@newscl01ah.mathworks.com>
References: <kkbdpr$63p$1@newscl01ah.mathworks.com> <kkbh4o$ei2$1@newscl01ah.mathworks.com> <kkbj2k$j6o$1@newscl01ah.mathworks.com> <kkbkl7$n87$1@newscl01ah.mathworks.com> <kkbnbg$he$1@newscl01ah.mathworks.com> <kkboh0$3ep$1@newscl01ah.mathworks.com> <kkbrvs$c6m$1@newscl01ah.mathworks.com>
Reply-To: "Bruno Luong" <b.luong@fogale.findmycountry>
NNTP-Posting-Host: www-06-blr.mathworks.com
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: newscl01ah.mathworks.com 1365868928 21602 172.30.248.38 (13 Apr 2013 16:02:08 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Sat, 13 Apr 2013 16:02:08 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 390839
Xref: news.mathworks.com comp.soft-sys.matlab:793456

"ghasem " <shaban_sadeghi@yahoo.com> wrote in message 


> in your code,How convert X from sparse to full matrix,again?
>

> > X = zeros(ny,nxnz);

In my code X preallocated with ZEROS() is a _full_ matrix. It never becomes sparse.

Bruno