forked from mirrors/nixpkgs
16 lines
705 B
Diff
16 lines
705 B
Diff
diff --git a/inst/nonstatgab/nsdgt.m b/inst/nonstatgab/nsdgt.m
|
|
index ac53963..81656cb 100644
|
|
--- a/inst/nonstatgab/nsdgt.m
|
|
+++ b/inst/nonstatgab/nsdgt.m
|
|
@@ -149,8 +149,8 @@ for ii = 1:N
|
|
col = ceil(Lg/M(ii));
|
|
|
|
temp = zeros(col*M(ii),W,assert_classname(f,g{1}));
|
|
- temp([end-floor(Lg/2)+1:end,1:ceil(Lg/2)],:) = bsxfun(@ ...
|
|
- times,f(win_range,:),g{ii}(idx));
|
|
+ temp([end-floor(Lg/2)+1:end,1:ceil(Lg/2)],:) = bsxfun(@times, ...
|
|
+ f(win_range,:),g{ii}(idx));
|
|
|
|
temp = reshape(temp,M(ii),col,W);
|
|
X = squeeze(fft(sum(temp,2)));
|