How to convert a double file to audiorecorder type ?

1 次查看(过去 30 天)
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.

采纳的回答

Jan
Jan 2018-12-10
编辑:Jan 2018-12-10
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.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Data Type Conversion 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by