|
From: Dmitri A. S. <das...@gm...> - 2007-06-01 20:38:13
|
The new version of pwelch (by Peter V. Lanspeary) seems to have problem parsing argument list. E.g. "demo pwelch" would fail: pwelch example 1: failed error: pwelch: arg 3 (overlap) must be real from 0 to 0.950000 apparently on the line pwelch(x,[],[],[],[],0.9); It also gets easily confused when pwelch called with two channels, e.g.: pwelch(x, y, [], [], [], 1000, [], [], "mean", [], "trans") error: pwelch: can give confidence interval for x power spectrum only error: evaluating if command near line 507, column 3 error: evaluating if command near line 279, column 1 error: called from `pwelch' in file `/usr/share/octave/site/m/octave-forge/signal/pwelch.m' In fact it appears that i cannot specify any parameter between "sampling frequency" and "result" parameters... Sorry, I do not have a patch, the source of pwelch.m is too unwieldy for me. Sincerely, Dmitri. -- |