Owning Class: waveform generation
Requires: MathScript RT Module
c = dirichlet(a, b)
Legacy Name: diric
Generates the Dirichlet function, sin(b*a/2)./(b*sin(a/2)).
| Name | Description |
|---|---|
| a | Specifies the sampling time. a is a real array. |
| b | Specifies the number of equally spaced extrema of the function in the interval [0, 2*pi]. b is a positive integer. |
| Name | Description |
|---|---|
| c | Returns the sampled Dirichlet function. |
X = -5*pi:0.01:5*pi;
Y = dirichlet(X, 5);
plot(X, Y)
chirp
gaussmonopulse
gausspulse
pulsetrain
rectpulse
sawtooth
sinc
square
tripulse
vco