Sep 14,  · After I plot, the x-axis of the plot is scaled based on the sampling frequency being Hz. Say the location of the dominant frequency in the plot is 4Hz. Now, if I change the sampling frequency to , the location of the dominant frequency is ten times the previous location. I'm trying to write a program in Matlab that samples (using Nyquist theorem) and recovers signal. I got stucked on recovery part recovery signal doesn't match with the original one (see photo). And I have to make graph that shows every sinc separately (before the sum) like on photo. The reason it's not working is that you don't use the SampleRateConverter object SRC anywhere. In fact, by using SRC as the second output argument of audioread (), you overwrite it with a number containing the current sample rate. If you want to use SampleRateConverter, check out some examples here. But, it's probably simpler to use resample ().



4 thoughts on “Change sampling rate matlab

  1. You are not right. I am assured. I can defend the position. Write to me in PM, we will talk.

  2. I consider, that you are not right. I am assured. Let's discuss. Write to me in PM, we will talk.

Leave a Reply

Your email address will not be published. Required fields are marked *