freeswitch/libs/libcodec2/octave/load_raw.m

9 lines
136 B
Mathematica
Raw Normal View History

2010-09-21 17:35:41 +00:00
% 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