MATLAB SIGNAL PROCESSING TOOLBOX 6 Manuel d'utilisateur Page 13

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 60
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 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.
Vue de la page 12
1 2 ... 8 9 10 11 12 13 14 15 16 17 18 ... 59 60

Commentaires sur ces manuels

Pas de commentaire