Analog Signal with Comparator
1 次查看(过去 30 天)
显示 更早的评论
Hello,
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?
Thanks
0 个评论
采纳的回答
Shubh Sahu
2020-1-6
Hello!
Please read magnitude and frequency from the signal as shown below
[y,Fs] = audioread(filename)
and then apply relational operations to compare. As MATLAB basic working is in matrix form so the result of these operations will be in matrix only. And you can use this result for further use.
I have attached some link which will be helpful for you
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Audio I/O and Waveform Generation 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!