From: <be...@us...> - 2012-08-14 16:27:42
|
Revision: 10861 http://octave.svn.sourceforge.net/octave/?rev=10861&view=rev Author: benjf5 Date: 2012-08-14 16:27:34 +0000 (Tue, 14 Aug 2012) Log Message: ----------- DESCRIPTION update for lssa due to broadcasting, other miscellaneous help string changes. Modified Paths: -------------- trunk/octave-forge/extra/lssa/DESCRIPTION trunk/octave-forge/extra/lssa/inst/lscomplexwavelet.m trunk/octave-forge/extra/lssa/src/fastlscomplex.cc Modified: trunk/octave-forge/extra/lssa/DESCRIPTION =================================================================== --- trunk/octave-forge/extra/lssa/DESCRIPTION 2012-08-14 13:42:51 UTC (rev 10860) +++ trunk/octave-forge/extra/lssa/DESCRIPTION 2012-08-14 16:27:34 UTC (rev 10861) @@ -10,6 +10,6 @@ URLs). Url: http://www.jstatsoft.org/v11/i02 Problems: fast implementations, wavelet functions are currently not functional. -Depends: octave (>= 3.4.3) +Depends: octave (>= 3.6.0) Autoload: no License: GPLv3+ Modified: trunk/octave-forge/extra/lssa/inst/lscomplexwavelet.m =================================================================== --- trunk/octave-forge/extra/lssa/inst/lscomplexwavelet.m 2012-08-14 13:42:51 UTC (rev 10860) +++ trunk/octave-forge/extra/lssa/inst/lscomplexwavelet.m 2012-08-14 16:27:34 UTC (rev 10861) @@ -13,8 +13,11 @@ ## You should have received a copy of the GNU General Public License along with ## this program; if not, see <http://www.gnu.org/licenses/>. +## -*- texinfo -*- +## +## @deftypefn {Function File} {@var{t} =} lscomplexwavelet (@var{time}, +##@var{mag}, @var{maxfreq}, @var{numcoeff}, @var{numoctave}, - function transform = lscomplexwavelet( T, X, omegamax, ncoeff, noctave, tmin, tmax, tstep, sigma = 0.05) ## This is a transform based entirely on the simplified complex-valued transform Modified: trunk/octave-forge/extra/lssa/src/fastlscomplex.cc =================================================================== --- trunk/octave-forge/extra/lssa/src/fastlscomplex.cc 2012-08-14 13:42:51 UTC (rev 10860) +++ trunk/octave-forge/extra/lssa/src/fastlscomplex.cc 2012-08-14 16:27:34 UTC (rev 10861) @@ -25,16 +25,22 @@ #include <exception> bool flscomplex (const RowVector & tvec, const ComplexRowVector & xvec, - double maxfreq, int octaves, int coefficients, ComplexRowVector & result); + double maxfreq, int coefficients, int octaves, ComplexRowVector & result); DEFUN_DLD(fastlscomplex,args,nargout, "-*- texinfo -*-\n\ @deftypefn {Function File} { C = } fastlscomplex \ -(@var{time},@var{magnitude},@var{maximum_frequency},@var{octaves},@var{coefficients})\n \ +(@var{time},@var{magnitude},@var{maxfreq},@var{ncoeff},@var{noctave})\n \ \n\ -Return the complex least squares transform of the (@var{time},@var{magnitude}) series\n\ -supplied, using the fast algorithm.\n\ +Return a series of least-squares transforms of a complex time series via a divide and\n\ +conquer algorithm. Each transform is minimized independently at each frequency,\n\ +starting from @var{maxfreq} and descending over @var{ncoeff} frequencies for\n\ +each of @var{noctave} octaves.\n\ \n\ +For each result, the complex result for a given frequency o defines the real and\n\ +imaginary sinusoids which have the least distance to the data set: for a + bi,\n\ +the matching sinusoids are a cos (ot) + b i sin (ot).\n\ +\n\ @seealso{lscomplex, fastlsreal}\n\ \n\ @end deftypefn") This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |