bugGNU Octave - Bugs: bug #38297, [octave forge] (signal) bilinear...

 
 

bug #38297: [octave forge] (signal) bilinear not compatible with Matlab

Submitter:  sarbjit <sarbjit>
Submitted:  Sun 10 Feb 2013 04:36:41 AM UTC
   
 
Category:  Octave Package Severity:  1 - Wish
Priority:  1 - Later Item Group:  Matlab Compatibility
Status:  Fixed Assigned to:  None
Originator Name:  sarbjit Open/Closed:  * Closed
Release:  * dev Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 25 Aug 2021 06:35:51 AM UTC, comment #2: 

CODE SPRINT: This item was open for a long time and no further progress is to be expected.  Thus it will be closed now.  If you care for this bug or you think it was a wrong decision, please write details for your argument and it can be reopened again.

Kai Torben Ohlhus <siko1056>
Group Member
Thu 08 Dec 2016 04:55:40 AM UTC, comment #1: 

This issue appears to have been resolved since the original post, as signal package 1.3.2 shows the same input form as matlab in the help for bilinear:


>> help bilinear
'bilinear' is a function from the file C:\Octave\octave-4.2.0-w64\share\octave\packages\signal-1.3.2\bilinear.m

 -- Function File: [ZB, ZA] = bilinear (SB, SA, T)
 -- Function File: [ZB, ZA] = bilinear (SZ, SP, SG, T)
 -- Function File: [ZZ, ZP, ZG] = bilinear (...)


it does however mention that:


 Note: this differs from the bilinear function in the signal
     processing toolbox, which uses 1/T rather than T.


not sure what it means exactly, but the output may still be matlab incompatible.

Nicholas Jankowski <nrjank>
Group Member
Sun 10 Feb 2013 04:36:41 AM UTC, original submission:  

Hi,

bilinear function which is used for conversion of analog to digital filters is not compatible with Matlab. Matlab version of this function provides support to take "pre-warping" frequency as an argument.

Matlab Syntax:-
[zd,pd,kd]=bilinear(z,p,k,fs)
[zd,pd,kd]=bilinear(z,p,k,fs,fp)
[numd,dend]=bilinear(num,den,fs)
[numd,dend]=bilinear(num,den,fs,fp)
[Ad,Bd,Cd,Dd]=bilinear(A,B,C,D,fs)
[Ad,Bd,Cd,Dd]=bilinear(A,B,C,D,fs,fp)

While the bilinear available in Octave has the following syntax:

 usage: [Zz, Zp, Zg] = bilinear(Sz, Sp, Sg, T)
        [Zb, Za] = bilinear(Sb, Sa, T)

For more details refer :
http://www.mathworks.in/help/signal/ref/bilinear.html

-Sarbjit

sarbjit <sarbjit>

 

(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 siko1056 (Posted a comment)
  • -email is unavailable- added by jwe (Updated the item)
  • -email is unavailable- added by nrjank (Posted a comment)
  • -email is unavailable- added by sarbjit (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 16 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2021-08-25 siko1056 StatusPostponed Fixed
        Assigned tomtmiller None
        Open/ClosedOpen Closed
    2019-02-27 mtmiller Releaseother dev
    2019-02-27 mtmiller Carbon-CopyRemoved 80942 -
    2018-04-03 mtmiller Priority5 - Normal 1 - Later
        StatusConfirmed Postponed
    2017-08-13 jwe Summarysignal package: bilinear not compatible with Matlab [octave forge] (signal) bilinear not compatible with Matlab
    2015-06-04 mtmiller Severity3 - Normal 1 - Wish
        Assigned toNone mtmiller
        Release3.6.2 other
    2013-06-21 mtmiller StatusNone Confirmed
        Summarysignal package: bilinear function in Octave is not compatible with Matlab signal package: bilinear not compatible with Matlab
    2013-02-10 mtmiller CategoryNone Octave Package
        Operating SystemMicrosoft Windows Any
        Summarybilinear function in Octave is not compatible with Matlab signal package: bilinear function in Octave is not compatible with Matlab

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code