From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Avoiding for loop
Date: Fri, 23 Jul 2010 20:40:26 +0000 (UTC)
Organization: Boeing Co
Lines: 6
Message-ID: <i2cunq$oa8$>
References: <i2cpf0$j3k$> <i2cqal$ra0$> <i2cr4t$7oq$> <i2crpp$jcj$> <i2csjm$b49$>
Reply-To: <HIDDEN>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: 1279917626 24904 (23 Jul 2010 20:40:26 GMT)
NNTP-Posting-Date: Fri, 23 Jul 2010 20:40:26 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 756104
Xref: comp.soft-sys.matlab:655727

"Stefan " <> wrote in message <i2csjm$b49$>...
> You are both right, compute expm(B) outside the loop first. However, I need all the values of V. -a<= x1,x2,x3,x4 <=a,  where  a  can be any integer.

Why?  Do you need all of them at the same time? What are you doing with V in your code?

James Tursa