[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #44112] signal -> specgram(rand(384, 1)) and s

From: Thomas Käfer
Subject: [Octave-bug-tracker] [bug #44112] signal -> specgram(rand(384, 1)) and smaller give errors
Date: Wed, 28 Jan 2015 21:45:13 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/39.0.2171.65 Chrome/39.0.2171.65 Safari/537.36


                 Summary: signal -> specgram(rand(384,1)) and smaller give
                 Project: GNU Octave
            Submitted by: kaefert
            Submitted on: Mi 28 Jan 2015 21:45:12 GMT
                Category: Octave Forge Package
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Crash
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 3.8.2
        Operating System: GNU/Linux



the function specgram() started with no additional parameters but the data
vector throws error (and stops the parent script from running) when given a
vector of 384 items or less.

For 256 items and less, these error messages are shown:

error: 'xdata' undefined near line 179 column 49
error: evaluating argument list element number 5
error: called from:
error:   /usr/local/share/octave/3.8.2/m/image/image.m at line 179, column 5
error:   /usr/local/share/octave/3.8.2/m/image/image.m at line 116, column 10
error:   /usr/local/share/octave/3.8.2/m/image/imagesc.m at line 97, column
error:   /home/kaefert/octave/signal-1.3.0/specgram.m at line 167, column 5

for the default plotting engine, everything above 256 items outputs a plot,
but with gnuplot (which I need for beeing able to plot in the background
without producing an x window & through parcellfun()) after between 267 and
384 this errors are shown:

multiplot> plot "-" binary array=2x128 scan=yx origin=(0.5,0) dx=0
dy=0.0078125 using 1 title "" with image; ;
line 0: Sample period must be positive. Try `flip` for changing direction

and lots of crazy caracters that produce:
 line 0: invalid character

errors as a result


Reply to this item at:


  Nachricht gesendet von/durch Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]