bleeck@3: % This external file is included as part of the 'aim-mat' distribution package bleeck@3: % (c) 2011, University of Southampton bleeck@3: % Maintained by Stefan Bleeck (bleeck@gmail.com) bleeck@3: % download of current version is on the soundsoftware site: bleeck@3: % http://code.soundsoftware.ac.uk/projects/aimmat bleeck@3: % documentation and everything is on http://www.acousticscale.org tomwalters@0: function vals=getxvalues(sig) tomwalters@0: % return all x values of the signal in one vector tomwalters@0: tomwalters@0: sr=getsr(sig); tomwalters@0: time_null=getminimumtime(sig); tomwalters@0: time_max=getmaximumtime(sig); tomwalters@0: vals=[time_null:1/sr:time_max]; tomwalters@0: % correction: tomwalters@0: vals=vals(1:length(getvalues(sig))); tomwalters@0: vals=vals';