% function to read in file and show ASCII version

function test_ascii(filename)
fileID=fopen(filename);
input_text=fread(fileID)';
fclose(fileID);
text=input_text(1:100)
char(text)
for k=1:length(text)
if text(k)==13
text(k)=32;
end
end
text=text(text<128);
text=text(text>31);
char(text)
return