function [x,n] = discrete_pulse_train(W,M,Np,D,N)
% [x,n] = discrete_pulse_train(W,M,Np,D,N)
% Generate a discrete-time pulse train
%================ Inputs =========================================
% W = pulse width in samples
% M = period in samples, M > W
% Np = Number of periods to create (if 0 full out to N samples)
% D = turn-on delay in samples of the first period
% N = total number of samples to create
%================ Outputs ========================================
% x = signal vector (a row vector)
% n = integer time axis corresponding to x
Recently Asked Questions
- When currency is equal to $ 200 billion and reserves are equal to $ 350 billion , and we know that the money multiplier is equal to 1.5 , then the money supply
- Which of the following is included in current calculations of GDP ?
- Which of the following will shift the aggregate supply curve up to the left ?