bugGNU Octave - Bugs: bug #57576, freqz error when using complex...

 
 

bug #57576: freqz error when using complex data and a specific range of frequencies

Submitter:  Laurent Haas <f6fvy>
Submitted:  Fri 10 Jan 2020 06:07:12 PM UTC
   
 
Category:  Octave Function Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Unexpected Error or Warning
Status:  Fixed Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * 5.1.0 Operating System:  * Microsoft Windows
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Fri 10 Jan 2020 06:40:32 PM UTC, comment #1: 

Confirmed, due to an off-by-one error when the "whole" spectrum is plotted. I fixed this on the default branch for the upcoming version 6.1

https://hg.savannah.gnu.org/hgweb/octave/rev/88e04bb41eba

Mike Miller <mtmiller>
Group Member
Fri 10 Jan 2020 06:07:12 PM UTC, original submission:  

When using complex data input and a specific range of frequencies, freqz generates an error and fails.



>> y = ones(1,5000) + i*ones(1,5000);
>> freqz(y(1:5000), 1, [-4E6:.01E6:4E6], 2.5E6);
error: __plt2vv__: vector lengths must match
error: called from
    __plt__>__plt2vv__ at line 482 column 5
    __plt__>__plt2__ at line 242 column 14
    __plt__ at line 107 column 18
    plot at line 223 column 10
    freqz_plot at line 55 column 3
    freqz at line 194 column 5
>>


Other details in this thread : https://lists.gnu.org/archive/html/help-octave/2020-01/msg00032.html

Laurent Haas <f6fvy>

 

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

Attach Files:
   
   
Comment:
   

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 f6fvy (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 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-01-10 mtmiller StatusNone Fixed
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code