Path: news.mathworks.com!not-for-mail
From: "Bruno Luong" <b.luong@fogale.findmycountry>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Out of memory when I am doing 3D FFT
Date: Sat, 10 Jan 2009 10:04:01 +0000 (UTC)
Organization: FOGALE nanotech
Lines: 12
Message-ID: <gk9rqh$6od$1@fred.mathworks.com>
References: <gk7vku$naj$1@fred.mathworks.com> <gk9ktb$63p$1@fred.mathworks.com>
Reply-To: "Bruno Luong" <b.luong@fogale.findmycountry>
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 1231581841 6925 172.30.248.37 (10 Jan 2009 10:04:01 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Sat, 10 Jan 2009 10:04:01 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 390839
Xref: news.mathworks.com comp.soft-sys.matlab:510753


:,:,k)=fftn(Vol(:,:,k));
>   end
>   for i=1:size(Vol,1)
>      for j=1:size(Vol,2)
>         FFT1(i,j,:)=fft(squeeze(Vol(i,j,:)));
>      end
>   end

The computation statement should be read as
FFT1(i,j,:)=fft(squeeze(FFT1(i,j,:)));

Bruno