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

10 visualizaciones (últimos 30 días)
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 comentarios
Sam Chak
Sam Chak el 31 de Mayo de 2022
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 el 31 de Mayo de 2022
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

Iniciar sesión para comentar.

Respuestas (1)

Biral Pradhan
Biral Pradhan el 3 de Jun. de 2022
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.

Categorías

Más información sobre Audio I/O and Waveform Generation en Help Center y File Exchange.

Productos


Versión

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by