locchamp
Member level 2
simin simulink
Hey guys I have a matlab file below that uses mp3read to take a file and save it to mt then I am trying to use simin to take the audio file and use it in simulink as a file for modulation m(t), but I am having problems, can someone please help? In simulink for the simin parameters I tried al lof them, which one should I use, thanks guys
clear;clc;
[Y,fs,NBITS,OPTS] = mp3read('jem.mp3');
mt=Y(1:20000);
t = 0:1/fslength(mt)-1)/fs;
simin=[mt t];
Hey guys I have a matlab file below that uses mp3read to take a file and save it to mt then I am trying to use simin to take the audio file and use it in simulink as a file for modulation m(t), but I am having problems, can someone please help? In simulink for the simin parameters I tried al lof them, which one should I use, thanks guys
clear;clc;
[Y,fs,NBITS,OPTS] = mp3read('jem.mp3');
mt=Y(1:20000);
t = 0:1/fslength(mt)-1)/fs;
simin=[mt t];