loss of data/missing elements in array after a for loop
3 visualizaciones (últimos 30 días)
I experienced a loss of data when comparing my input and ouput matrices.
TD_32_denoise_post_single_chan = TD_32_colon(:,ch);
[val_rms, idx_rms] = findpeaks(-TD_32_denoise_post_single_chan', ...
idx_matrix_bool_mat_filt(idx_rms,ch) = true;
TD_32_colon is a 2584386x32 matrix
idx_matrix_bool_mat_filt is a 2584128x32 matrix
the total loss of data points is 258x32
I do not know where these points are located, and this issue prevents me from performing any operation as I get weird results.
Do you have any suggestion?