bugGNU Octave - Bugs: bug #52604, Matlab invfreqz(h,w,4,5,[],30)...

 
 

bug #52604: Matlab invfreqz(h,w,4,5,[],30) example doesn't give sample output as octave

Submitted by:  Stephen <sh986>
Submitted on:  Wed 06 Dec 2017 05:14:23 PM UTC  
 
Category: Octave Forge PackageSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Matlab Compatibility
Status: NoneAssigned to: None
Originator Name: StephenOpen/Closed: Open
Release: 4.2.1Operating System: Microsoft Windows

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Wed 06 Dec 2017 05:41:43 PM UTC, comment #1:

Also, invfreqz(h,w,3,3,wt,30) shown below doesn't return the same result as matlab (see https://edoras.sdsu.edu/doc/matlab/toolbox/signal/spectop9.html)

>> [b,a] = butter(4,0.4)

b =

0.046583 0.186332 0.279497 0.186332 0.046583

a =

1.000000 -0.782095 0.679979 -0.182676 0.030119

>> [h,w] = freqz(b,a,64);
>> [b4,a4] = invfreqz(h,w,4,4)

b4 =

0.046583 0.186332 0.279497 0.186332 0.046583

a4 =

1.000000 -0.782095 0.679979 -0.182676 0.030119

>> wt = ones(size(w));
>> [b30,a30] = invfreqz(h,w,3,3,wt,30)

b30 =

0.046389 0.178546 0.244578 0.127586

a30 =

1.00000 -0.95016 0.73823 -0.20056

Stephen <sh986>
Wed 06 Dec 2017 05:14:23 PM UTC, original submission:

Matlab invfreqz(h,w,4,5,[],30) example doesn't give sample output as octave.

See https://www.mathworks.com/help/signal/ref/invfreqz.html

Stephen <sh986>

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by sh986 (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    No Changes Have Been Made to This Item

    Back to the top


    Powered by Savane 3.1-cleanup1