IN MATLAB
1.1) Create a ‘unit_impulse’ function that creates a unitimpulse sequence y(n). The function should accepts input argumentsof n_p, n1, and n2 where n1 and n2 are the start and the end of thesequence; n_p is the position of the pulse.
Note that for each value of n: y(n) = y(n) = { 1 when n>= n_p// 0 when n>= n_p
1.2) Create a ‘unit_step’ function that creates a unit stepsequence y(n). The function should accepts input arguments of n_s,n1, and n2 where n1 and n2 are the start and the end of thesequence; n_s is the step position.
Note that for each
PayPal Gateway not configured
PayPal Gateway not configured