function height = getHeight(signal)maxVal = max(signal);wd = [];for nn = 1 : maxVal wd(nn) = getSignalWidth(signal, nn);end[~, indx] = find(wd >= wd(1)*0.7);height = indx(end);
MATLAB: Can you pls explain me the for loop here,how is it working and how is this code working >>[~, indx] = find(wd >= wd(1)*0.7)
MATLAB
Best Answer