public class SquareWaveform extends Object
Constructor and Description |
---|
SquareWaveform()
Creates a square wave of 100 samples, with period of 1 second, wavelength of
100 samples, updating at 10 Hz.
|
SquareWaveform(Double periodInSeconds,
Double wavelengthInSamples,
Double updateRateInSeconds)
Creates a square wave of 100 samples, with given period and given wavelength of
100 samples, updating at given rate.
|
SquareWaveform(Double periodInSeconds,
Double wavelengthInSamples,
Double nSamples,
Double updateRateInSeconds)
Creates a square wave of 100 samples, with given period and given wavelength of
given number of samples, updating at given rate.
|
public SquareWaveform()
public SquareWaveform(Double periodInSeconds, Double wavelengthInSamples, Double updateRateInSeconds)
periodInSeconds
- the period measured in secondswavelengthInSamples
- the wavelength measured in samplesupdateRateInSeconds
- the update rate in secondspublic SquareWaveform(Double periodInSeconds, Double wavelengthInSamples, Double nSamples, Double updateRateInSeconds)
periodInSeconds
- the period measured in secondswavelengthInSamples
- the wavelength measured in samplesnSamples
- the number of samplesupdateRateInSeconds
- the update rate in secondsCopyright © 2010–2015. All rights reserved.