freeswitch/libs/libcodec2/octave/load_raw.m
2010-09-21 12:35:41 -05:00

9 lines
136 B
Matlab

% load_raw.m
% David Rowe 7 Oct 2009
function s = load_raw(fn)
fs=fopen(fn,"rb");
s = fread(fs,Inf,"short");
plot(s)
endfunction