From: "Steven_Lord" <>
Newsgroups: comp.soft-sys.matlab
Subject: Re: how could i run this code? and what big mistake in it?
Date: Tue, 2 Aug 2011 10:27:12 -0400
Organization: MathWorks
Lines: 24
Message-ID: <j191g0$3bl$>
References: <j16r0b$6h6$> <j16t82$e1r$>
Mime-Version: 1.0
Content-Type: text/plain;
Content-Transfer-Encoding: 7bit
X-Trace: 1312295232 3445 (2 Aug 2011 14:27:12 GMT)
NNTP-Posting-Date: Tue, 2 Aug 2011 14:27:12 +0000 (UTC)
In-Reply-To: <j16t82$e1r$>
X-Priority: 3
X-MSMail-Priority: Normal
Importance: Normal
X-Newsreader: Microsoft Windows Live Mail 14.0.8089.726
X-MimeOLE: Produced By Microsoft MimeOLE V14.0.8089.726
Xref: comp.soft-sys.matlab:738437

"Roger Stafford" <> wrote in 
message news:j16t82$e1r$
>  Amit, I object to the question you have posed.  Without giving any hint 
> as to what you regard as unsatisfactory about your 977 lines of code you 
> have simply exhibited them in their entirety.  Do you seriously believe 
> that people are going to go through as much code as that with no more 
> information than you have furnished?  You need to fully explain what the 
> trouble is and merely give a small, very small, sample of code 
> illustrating this difficulty.  Please try again.

When I pasted this into MATLAB Editor, it listed 975 lines and showed a 
number of red Code Analyzer messages indicating errors that should be the 
first things the OP investigates. I think the discrepancy between our counts 
is due to the fact that a couple of lines are very long (particularly line 
198) and would wrap onto multiple lines using Microsoft Word.

Steve Lord
To contact Technical Support use the Contact Us link on