I Need To Turn My Image Into Waveform. What Should I Change? (Simulink)

조회 수: 13 (최근 30일)
Ahmet Talha Köten
Ahmet Talha Köten 2022년 5월 31일
답변: Biral Pradhan 2022년 6월 3일
I have this system for now. I turned a pretty simple image to vector. Then tried using for loop to get vector values to turn them into waveforms so I can turn it to sound. What should I do? Right now it gives 1 in scope.
  댓글 수: 2
Sam Chak
Sam Chak 2022년 5월 31일
Can you rewrite the system in Simulink in MATLAB code?
It's easier to understand if you have some codes to analyze.
Ahmet Talha Köten
Ahmet Talha Köten 2022년 5월 31일
readimage("sas.png");
b2w(sas.png);
(sas.png to vector idk how)
for i;1;27{
a,b=0;
if sasvalue==255{
a=1
}else
a=0
}end
somehow create a scope that can read every pulse

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

답변 (1개)

Biral Pradhan
Biral Pradhan 2022년 6월 3일
I understand, you want to generate an audio file from your input image. I assume you have successfully stored RGB values for your image inside a vector. The next step would be to generate audio file from this vector. Kindly follow the following documentations, as a workaround to resolve the issue.

카테고리

Help CenterFile Exchange에서 Audio I/O and Waveform Generation에 대해 자세히 알아보기

제품


릴리스

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by