Analog Signal with Comparator

조회 수: 3 (최근 30일)
Ifthekhar Ahammad
Ifthekhar Ahammad 2019년 12월 30일
댓글: Ifthekhar Ahammad 2020년 1월 15일
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

채택된 답변

Shubh Sahu
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
  댓글 수: 1
Ifthekhar Ahammad
Ifthekhar Ahammad 2020년 1월 15일
Dear Mr. Sahu,
thank you very much for your help.
Regards.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 MATLAB에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by