R2017a bug?, resample
Mostra commenti meno recenti
I get an error trying to run the following example from the help page in Matlab R2017a.
-----------------------------------------------------------------------------
fs = 10;
t1 = 0:1/fs:1;
x = t1;
y = resample(x,3,2);
t2 = (0:(length(y)-1))*2/(3*fs);
Error using vertcat
Dimensions of matrices being concatenated are not consistent.
Error in firls (line 179)
b=[b0; b];
Error in resample>uniformResample (line 208)
h = firls( L-1, [0 2*fc 2*fc 1], [1 1 0 0]).*kaiser(L,bta)' ;
Error in resample (line 104)
[varargout{1:max(1,nargout)}] = uniformResample(varargin{:});
4 Commenti
Walter Roberson
il 3 Ott 2017
I do not encounter that problem in R2017a with that code.
hamed amini
il 3 Ott 2017
Alexandre HYAFIL
il 3 Apr 2018
Hi Hamed,
I am encountreing the same error on R2017a (on PC). Did you find out where it comes from ?
hamed amini
il 4 Apr 2018
Risposte (0)
Categorie
Scopri di più su Multirate Signal Processing in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!