If I record me voice, using audiorecorder, for 2 seconds at a sampling frequency of 8,000 Hz, then I will have 16,000 values. If I plot this, the x-axis goes from 0 to 16,000 – How do I make the x-axis represent time in seconds, i.e., from 0 to 2 seconds instead of 0 to 16,000 samples?
MATLAB: Plot with respect to time, not samples
audiotime plot
Best Answer