Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2008

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

Search the Archive

How to plot a variable

  • To: mathgroup at smc.vnet.net
  • Subject: [mg93047] How to plot a variable
  • From: Knut SÃrsdal <knutso at online.no>
  • Date: Fri, 24 Oct 2008 02:33:28 -0400 (EDT)

When I iterate a variable in a do-loop it actually will not print out. Is it undefined? In Fortran this would never be a problem, but in mathematica it seems that it must be done different:

Do[  GA = GA + .5*(G[J] + G[J + 1])*DELT ; Amp = Exp[2.*GA] ; 
  JJ = J + 1; ABB[1] = 1; ABB[JJ] = Amp, {J, 1, N1}] ;
pl1 = Plot[ABB, {n, 1, NAX}, PlotLabel -> "Impedans", Filling -> Axis,
   PlotRange -> All]

ABB gives no result..


  • Prev by Date: Re: initialize cells
  • Next by Date: Re: Expressions with ellipsis (...)
  • Previous by thread: Simulation for probability of the roots of a quadratic equation (AX^2
  • Next by thread: Re: How to plot a variable