Filter löschen
Filter löschen

How to convert a double file to audiorecorder type ?

1 Ansicht (letzte 30 Tage)
Yvan N.
Yvan N. am 10 Dez. 2018
Bearbeitet: Jan am 10 Dez. 2018
I have a code that uses two scripts.
The first script's output should be used as the input of the second script.
But the second scripts needs an audiorecorder object type as input . Unfortunately, the first script's output is a double matrix type (8000 *1 ).
I want to know how to convert the double type to audiorecorder object type.
Thank you.

Akzeptierte Antwort

Jan
Jan am 10 Dez. 2018
Bearbeitet: Jan am 10 Dez. 2018
You can't. An audiorecorder and a double vectors are two different things. You cannot convert a list of temperatures to a thermometer also.
Modify the 2nd script such that it does not get the output of the audiorecorder, but the provided signal directly.

Weitere Antworten (0)

Kategorien

Mehr zu Data Type Conversion finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by