MathGroup Archive 2003

[Date Index] [Thread Index] [Author Index]

Search the Archive

Incrementing a "For" loop - "For loop.nb" 5893 Bytes yEnc

  • To: mathgroup at smc.vnet.net
  • Subject: [mg39688] Incrementing a "For" loop - "For loop.nb" 5893 Bytes yEnc
  • From: twm145 at psu.edu
  • Date: Sat, 1 Mar 2003 22:05:03 -0500 (EST)
  • Sender: owner-wri-mathgroup at wolfram.com

I have an 11 x 11 matrix "A",
and an 11 x 1 matrix "Told"
I would like to find the dot product of A and Told and store this result as
Tnew
then, increment a variable deltat that appears in A to deltat + 30.

I would then like to designate the answer Tnew as Told and perform the
calculation again, and repeat the procedure until deltat has reached 3600.

I have been trying to get a For loop to accomplish this but it appears that
the incrementing of deltat and the reassignment of Tnew to Told is not
occuring.  Could someone help me write this simple program.  I have attached
a notebook which shows what I have tried to do.
[Contact the author to get the notebook - moderator]

Thanks.

Tom Morris


  • Prev by Date: export some data to a specified file?
  • Next by Date: Re: signal detector question
  • Previous by thread: Re: export some data to a specified file?
  • Next by thread: RE: Incrementing a "For" loop - "For loop.nb" 5893 Bytes yEnc