MATLAB SIGNAL PROCESSING TOOLBOX 6 Manual do Utilizador Página 19

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 60
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 18
The pulstran Function
2-11
The pulstran Function
The pulstran function generates pulse trains from either continuous or sampled
prototype pulses. The following example generates a pulse train consisting of the sum of
multiple delayed interpolations of a Gaussian pulse. The pulse train is defined to have a
sample rate of 50kHz, a pulse train length of 10ms, and a pulse repetition rate of 1kHz;
D specifies the delay to each pulse repetition in column1 and an optional attenuation for
each repetition in column2. The pulse train is constructed by passing the name of the
gauspuls function to pulstran, along with additional parameters that specify a 10kHz
Gaussian pulse with 50% bandwidth:
T = 0:1/50E3:10E-3;
D = [0:1/1E3:10E-3;0.8.^(0:10)]';
Y = pulstran(T,D,'gauspuls',10E3,0.5);
plot(T,Y)
Vista de página 18
1 2 ... 14 15 16 17 18 19 20 21 22 23 24 ... 59 60

Comentários a estes Manuais

Sem comentários