MathGroup Archive 1999

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

Search the Archive

Findind Multiple Maximums

  • To: mathgroup at smc.vnet.net
  • Subject: [mg16691] Findind Multiple Maximums
  • From: Guy Gilliland <guy20 at wharton.upenn.edu>
  • Date: Sat, 20 Mar 1999 02:09:02 -0500
  • Organization: Wharton
  • Sender: owner-wri-mathgroup at wolfram.com

I have an equation which yields a solution x[t].  I need to find all of
the local maxima of x[t] and put them into a list.  How do I do this? 
WIll something like this work?

Do[Append[xn,Max[x[t]]],{t,0,500}]

Next I need to plot x(n+1) vs. x(n) where n is the position within the
list.  How do I do this.

Lastly,  How do I change the labels on ticmarks on a plot?  If the
x-axis range is 0 to 500 and this is what the raw data shows, is there a
simple plotting way to rescale the plot to show o to 1 rather than
rescaling the data?

Thanks,
please email me at guy20 at wharton.upenn.edu

Guy Gilliland, Ph.D.


  • Prev by Date: RE: Re: Eliminating a "Unit"
  • Next by Date: Re: plot bug
  • Previous by thread: 3D rotation for Orbit 3D
  • Next by thread: How to drow arrow in 3D space?