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
- In a sample of 800 U.S. adults, 193 dine out at a resaurant more than once per week. Two U.S. adults are selected at random from the population of all U.S.
- Water is a readily available polar solvent and is nontoxic. Should a student use a 1:1 mixture of water:toluene to elute 4-nitroanline? Explain your answer.
- Why do 77% of Americans say merry Christmas rather than happy holidays? What is the missing from the statement