gmonopuls {gsignal} | R Documentation |
Gaussian monopulse
Description
Returns samples of the unit-amplitude Gaussian monopulse.
Usage
gmonopuls(t, fc = 1000)
Arguments
t |
Vector of time values at which the unit-amplitude Gaussian monopulse is calculated. |
fc |
Center frequency of the Gaussian monopulses, specified as a real positive scalar expressed in Hz. Default: 1000 |
Value
Samples of the Gaussian monopulse, returned as a vector of unit
amplitude at the times indicated by the time vector t
.
Author(s)
Sylvain Pelissier, sylvain.pelissier@gmail.com.
Conversion to R by Geert van Boxtel, G.J.M.vanBoxtel@gmail.com.
Examples
fs <- 11025 # arbitrary sample rate
t <- seq(-10, 10, 1/fs)
y1 <- gmonopuls(t, 0.1)
y2 <- gmonopuls(t, 0.2)
plot(t, y1, type="l", xlab = "Time", ylab = "Amplitude")
lines(t, y2, col = "red")
legend("topright", legend = c("fc = 0.1", "fc = 0.2"),
lty = 1, col = c(1, 2))
[Package gsignal version 0.3-5 Index]