image thumbnail

EXPO 2011 Signal Processing Workflow Demo Files

by

 

MATLAB EXPO 2011 Signal Processing Workflow Demo Files

hardware_ml.m
%% I[fBIC^[tF[X𗘗p^EĐ
clear all, close all

%% MATLAB@\ŐMĐ
load handel;
playObj = audioplayer(y, Fs);
get(playObj)
% set(playObj,'SampleRate',32000)
play(playObj);

%% MATLAB@\ŐM^
recObj = audiorecorder;
recordblocking(recObj, 2);
myData = getaudiodata(recObj);
t = (0:length(myData)-1)/recObj.SampleRate;
plot(t,myData)


Contact us