Question: Problem 1 as follows (Custom Heaviside function) The Heaviside step function is defined H(z) = , x = 0 (a) (10 points) Create a user-defined

Problem 1 as follows (Custom Heaviside function) The Heaviside step function is defined H(z) = , x = 0 (a) (10 points) Create a user-defined Matlab function called "H.m" for the Heaviside step function. Your function definition should be siilar to that shown below: function y = H(x) % Input: % Output: -a one-dimensional array of real numbers y-an array the same size as x, giving H(a for each element of x NOTE: You may not call the built-in function heaviside" in H.m
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
