Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: How to remove unwanted text from a .txt file?
Date: Wed, 24 Sep 2008 06:36:02 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 3
Message-ID: <gbcn4h$ej1$1@fred.mathworks.com>
References: <gbbqun$qo5$1@fred.mathworks.com> <ryeCk.36464$QF5.28064@newsfe08.iad> <gbbubd$2n7$1@fred.mathworks.com> <VGfCk.562$Cl1.66@newsfe01.iad> <gbc1vn$8k6$1@fred.mathworks.com> <gbc2m6$de7$1@fred.mathworks.com> <gbc4i6$qf5$1@fred.mathworks.com> <gbcjal$h84$1@fred.mathworks.com> <qukCk.14892$Il.5652@newsfe09.iad>
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 1222238162 14945 172.30.248.35 (24 Sep 2008 06:36:02 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Wed, 24 Sep 2008 06:36:02 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1248302
Xref: news.mathworks.com comp.soft-sys.matlab:491717


Thank you so very much, the code is a lot more efficient now, although the B(r,:) = [A{:}]; line is accounting for 96% of the time consumed. It is amazing how efficient textscan is at only 4.%!
I&#8217;ll go and work on the Matrix pre-allocation now. Will report back.