www.gusucode.com > dsp 案例源码程序 matlab代码 > dsp/OutputSampleRateWithGivenToleranceExample.m
%% Output Sample Rate with Given Tolerance % Get the actual output sample rate for conversion between 192 kHz and 44.1 % kHz when given a tolerance of 1%. % Copyright 2015 The MathWorks, Inc. %% src = dsp.SampleRateConverter; src.OutputRateTolerance = 0.01; FsOut = getActualOutputRate(src)