MATLAB SIGNAL PROCESSING TOOLBOX 6 Manual de usuario Pagina 13

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 60
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 12
Impulse, Step, and Ramp Functions
2-5
Impulse, Step, and Ramp Functions
Since MATLAB is a programming language, an endless variety of different signals is
possible. Here are some statements that generate several commonly used sequences,
including the unit impulse, unit step, and unit ramp functions:
t = (0:0.001:1)';
imp = [1; zeros(99,1)]; % Impulse
unit_step = ones(100,1); % Step (with 0 initial cond.)
ramp_sig = t; % Ramp
quad_sig = t.^2; % Quadratic
sq_wave = square(4*pi*t); % Square wave with period 0.5
All of these sequences are column vectors. The last three inherit their shapes from t.
Vista de pagina 12
1 2 ... 8 9 10 11 12 13 14 15 16 17 18 ... 59 60

Comentarios a estos manuales

Sin comentarios