[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

GEN - sine and triangle wave data needed


  • To: omega-list@xxxxxxxxxx
  • Subject: GEN - sine and triangle wave data needed
  • From: Mark Johnson <janitor@xxxxxxxxxxxx>
  • Date: Mon, 28 Jan 2002 05:47:29 -0800
  • In-reply-to: <200201280342.TAA16263@xxxxxxxxxxxxxx>

PureBytes Links

Trading Reference Links

On Sun, 27 Jan 2002 09:32:43 -0800, "BobR" <bobrabcd@xxxxxxxxxxxxx> wrote
 >
 > Subject: GEN - sine and triangle wave data needed
 >
 > Am in need of some sinewave and triangle wave data
 > for testing and illustration purposes.  ASCII or OMZ or
 > XLS is fine.  Daily format will do or any time period
 > for that matter.  Just need 3 or more cycles.
 >

To generate a sinewave with period 20 in Excel,
put the numbers 0 thru 75 in column A, then
in cell B1 put this expression
   =SIN(3.1415926*A1/20)

Now copy cell B1 and paste it into B2 thru B76.  Done.
You have "written a computer program" to generate
a sinewave.  Congratulations.

A tiny variation gets you a triangle wave.