bugGNU Octave - Bugs: bug #63378, [octave forge] (symbolic) Bugs in...

 
 

bug #63378: [octave forge] (symbolic) Bugs in fourier and ifourier functions

Submitter:  None
Submitted:  Thu 17 Nov 2022 02:36:24 PM UTC
   
 
Category:  Octave Package Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect Result
Status:  None Assigned to:  None
Originator Name:  Yinchao Chen Originator Email:  -email is unavailable-
Open/Closed:  * Open Release:  * 7.2.0
Operating System:  * Microsoft Windows Fixed Release:  None
Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 19 Nov 2022 01:19:47 PM UTC, comment #2: 

IIUC, you are reporting an issue with a function from the Symbolic package.

You might get better feedback from their developers by opening an issue on their GitHub repository:
https://github.com/cbm755/octsympy/issues

Markus Mützel <mmuetzel>
Group administrator
Thu 17 Nov 2022 07:01:15 PM UTC, comment #1: 

What are w, w0 and t in your example? Could you give a minimum reproducible example pls? (Start with "pkg load").

Arun Giridhar <arungiridhar>
Group Member
Thu 17 Nov 2022 02:36:24 PM UTC, original submission:  

Thanks for your great product, and I am enjoying to use it to teach my class Signal and Systems.

The following two bugs were found:

1) The original codes:

f=sin(w0*t);
Fw=fourier(f)

The result was

Fw = (sym) 0 (Not right)

2) The original codes:

F(w)=pi*dirac(w)+1/(i*w);
ft(t)=ifourier(F,t)
t0=5;
eval(ft(t))

The result was
ans =   4.0000e+00 - 6.1099e-151i (expecting "1" here)




Anonymous

 

(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 mmuetzel (Posted a comment)
  • -email is unavailable- added by arungiridhar (Posted a comment)
  •  

    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 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2022-11-19 mmuetzel CategoryOther Octave Package
        Item GroupNone Incorrect Result
        SummaryBugs in fourier and ifourier functions [octave forge] (symbolic) Bugs in fourier and ifourier functions

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code