public class Sine extends Object
Constructor and Description |
---|
Sine()
Creates a sine shaped signal between -5 and 5, updating
every second with 10 samples every full sine cycle.
|
Sine(Double min,
Double max,
Double secondsBeetwenSamples)
Creates a sine shaped signal between min and max, updating
every interval seconds with 10 samples every full sine cycle.
|
Sine(Double min,
Double max,
Double samplesPerCycle,
Double secondsBeetwenSamples)
Creates a sine shaped signal between min and max, updating
every interval seconds with samplesPerCycles samples every full sine cycle.
|
public Sine(Double min, Double max, Double samplesPerCycle, Double secondsBeetwenSamples)
min
- minimum valuemax
- maximum valuesamplesPerCycle
- number of samples for each full cycle (each 2 Pi)secondsBeetwenSamples
- interval between samples in secondspublic Sine(Double min, Double max, Double secondsBeetwenSamples)
min
- minimum valuemax
- maximum valuesecondsBeetwenSamples
- interval between samples in secondspublic Sine()
Copyright © 2010–2015. All rights reserved.