This is confusing me.. Ok, so I have the same dataset and I'm viewing them in the output window as well as the variable editor and they are completely different. Here is the screenshot:

Notice how the 9th element is "0" whereas on the variable editor it is "-0.0078"
The code:
function f = display()
rawdata = wavread('FILENAME', 'double');
f = rawdata;
end
Any ideas? I don't know which is right and which is wrong.