pulsew | R Documentation |
This function generates a rectangle pulse.
pulsew(dbefore, dpulse, dafter, f, plot = FALSE, output = "matrix", ...)
dbefore |
duration of the silent period before the pulse |
dpulse |
duration of the pulse to generate |
dafter |
duration of silent period after the pulse |
f |
sampling frequency of the signal to be generated (in Hz) |
plot |
logical, if |
output |
character string, the class of the object to return, either
|
... |
other |
If plot
is FALSE
, a new wave is returned. The class
of the returned object is set with the argument output
.
Jerome Sueur sueur@mnhn.fr
synth
, noisew
pulsew(dbefore=0.5,dpulse=0.1,dafter=0.3,f=8000,plot=TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.