I am planning to load an audio signal in MatLab as a matrix
signal = audioread ( 'Matlab.mp3' )
and then use a comparator with a threshold value to prepare another matrix that will store the data of the comparator and then want to plot then together or separately. I want to prepare the matrix for the comparator section because I want to use that data somewhere else as well. Is there a MatLab command to perform this comparator and matrix operation?