bugGNU Octave - Bugs: bug #55714, [octave forge] (signal) pmtm not...


bug #55714: [octave forge] (signal) pmtm not implemented

Submitter:  Alois Schlögl <schloegl>
Submitted:  Fri 15 Feb 2019 08:22:15 AM UTC
Category:  Octave Package Severity:  1 - Wish
Priority:  1 - Later Item Group:  Feature Request
Status:  Postponed Assigned to:  None
Originator Name:  Open/Closed:  * Open
Release:  * dev Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup

Fri 15 Feb 2019 06:34:15 PM UTC, comment #1: 

Missing functions are also listed on https://wiki.octave.org/Signal_package, I just linked "pmtm" to this bug report.

The full calling syntax of pmtm is pretty complicated

* p = pmtm (x)
* p = pmtm (x, n)
* p = pmtm (x, n, nfft)
* [p, w] = pmtm (...)
* p = pmtm (x, n, w)
* p = pmtm (x, n, f, fs)
* p = pmtm (..., "adapt")
* p = pmtm (..., "unity")
* p = pmtm (..., "eigen")
* p = pmtm (x, e, v)
* p = pmtm (..., "onesided")
* p = pmtm (..., "twosided")
* p = pmtm (..., "centered")
* p = pmtm (..., "droplasttaper", true)
* [p, c] = pmtm (..., "confidencelevel", 0.9)

This function depends on the dpss function, which is also not yet implemented in the signal package.

Mike Miller <mtmiller>
Group Member
Fri 15 Feb 2019 08:22:15 AM UTC, original submission:  

When trying to run some foreign matlab code [1] on Octave 4.4.1, the code failed because function "pmtm" is undefined.
Specifically, in this case pmtm was called as
     [trace_P, freq_mt] = pmtm(trace,9,nfft*2,Fs);

pmtm is documented in [2], but not listed in [3]. I report this according to [4].

[1] https://github.com/shababo/psc-detection-dist
[2] https://www.mathworks.com/help/signal/ref/pmtm.html
[3] https://octave.sourceforge.io/list_functions.php?sort=alphabetic#P
[4] https://www.gnu.org/software/octave/missing.html

Alois Schlögl <schloegl>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by jwe (Updated the item)
  • -email is unavailable- added by siko1056 (Updated the item)
  • -email is unavailable- added by schloegl (Submitted the item)

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.


    Follow 10 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-02-26 mtmiller Priority3 - Low 1 - Later
        StatusConfirmed Postponed
    2019-02-15 mtmiller Release4.4.1 dev
    2019-02-15 jwe Item GroupMatlab Compatibility Feature Request
    2019-02-15 siko1056 CategoryNone Octave Package
        Severity3 - Normal 1 - Wish
        Priority5 - Normal 3 - Low
        StatusNone Confirmed
        Operating SystemGNU/Linux Any
        Summarypmtm not implemented [octave forge] (signal) pmtm not implemented

    Back to the top

    Powered by Savane 3.13-c373.
    Corresponding source code