How can I select all parts of a vector?
11 views (last 30 days)
hello everyone, I have a problem with my code that I cannot solve, I have a vector of 1536, what I am trying to do is select a part for each iteration for, that is, basically I divide that vector of 1536 into 64 parts of 24, and in each part of those 24 I try to discover the peak that crosses a threshold, the problem is that I only get to point 1512 of the 1536 and there is a last peak that crosses the threshold at point 1520 as shown in the image, can someone help me please?
Thank you in advance.
attached bin2.mat and pdp.mat