Find the peak values in the signal. The peak value is defined as the local maxima. For example, x= [1 12 3 2 7 0 3 1 19 7]; peaks = [12 7 3 19];
Hint: Plot x to visually analyse the signal and get the idea of finding the peak. Another hint : first derivative
The test suite has been expanded.
y = findpeaks(x);
why this one doesn't work?
Find all elements less than 0 or greater than 10 and replace them with NaN
11620 Solvers
Sort a list of complex numbers based on far they are from the origin.
3792 Solvers
156 Solvers
Create a square matrix of multiples
330 Solvers
Getting the indices from a matrice
266 Solvers