MATLAB Signal Analyzer
Create a MATLAB function to analyze signals represented numerically. The function should have the following two inputs:
(1) a vector containing equally spaced samples of the signal of interest and
(2) the time step used to sample the signal contained in the vector.
The function should display the following descriptors of the signal: VMAX, VMIN, Vp, Vpp, Vavg, and Vrms. The function should also plot the waveform assuming the signal starts at t = 0.