Using 'From Multimedia File', how to split the channels
Ältere Kommentare anzeigen
When using the 'From Multimedia File' and a stereo audio file in simulink, how can you take the output of the block and split into two matrices. (eg. output is 256x2 and is split into two matrices of 256x1). My last resort would be to load the file first into a workspace and then get the matrix from there, but I would like to avoid that
What I have tried and didnt work: Demux Direct lookup table Matrix Multiply
Any way to do this?
thanks J
Akzeptierte Antwort
Weitere Antworten (2)
Doug Eastman
am 24 Okt. 2011
0 Stimmen
Demux only works with vectors, but this signal is a matrix. You can use two Selector blocks. Set the input dimensions to 2, select all from the first index and 1 from the second index for the first block, 2 for the second block.
1 Kommentar
Jesse
am 25 Okt. 2011
Kategorien
Mehr zu Signal Import and Export finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

