[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #55968] Incorrect simplify to sinc function
From: |
Z. M. |
Subject: |
[Octave-bug-tracker] [bug #55968] Incorrect simplify to sinc function |
Date: |
Wed, 20 Mar 2019 16:59:02 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36 |
URL:
<https://savannah.gnu.org/bugs/?55968>
Summary: Incorrect simplify to sinc function
Project: GNU Octave
Submitted by: zmarantz
Submitted on: Wed 20 Mar 2019 08:59:00 PM UTC
Category: Octave Forge Package
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Incorrect Result
Status: None
Assigned to: None
Originator Name: Z.M.
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 4.4.0
Operating System: Mac OS
_______________________________________________________
Details:
Hi Maintainer,
I am running Octave 4.4.0 on MAC OSX.
I ran the following code:
tau=0.2; A = 1.5;
syms t x(t) omega
x(t) = A*(heaviside(t+tau/2) - heaviside(t-tau/2));
X = fourier(x(t),t,omega)
X = simplify(X)
X = rewrite(X,'sinc')
The result is shown in the attached file.
As you can see, I get sinc(w / 10).
Unfortunately, the correct answer in terms of sinc should be: sinc(w/(10pi))
especially if sinc is defined as: sinc(x) = sin(pi*x)/(pi*x).
Any assistance that you could provide would be greatly appreciated.
Thank you,
Z.M.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Wed 20 Mar 2019 08:59:00 PM UTC Name: Screen Shot 2019-03-20 at 4.55.38
PM.png Size: 134KiB By: zmarantz
<http://savannah.gnu.org/bugs/download.php?file_id=46595>
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?55968>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #55968] Incorrect simplify to sinc function,
Z. M. <=
- [Octave-bug-tracker] [bug #55968] Incorrect simplify to sinc function, Colin Macdonald, 2019/03/20
- [Octave-bug-tracker] [bug #55968] [octave forge] (symbolic) Incorrect simplify to sinc function, Mike Miller, 2019/03/20
- [Octave-bug-tracker] [bug #55968] [octave forge] (symbolic) Incorrect simplify to sinc function, Mike Miller, 2019/03/20
- [Octave-bug-tracker] [bug #55968] [octave forge] (symbolic) Incorrect simplify to sinc function, Colin Macdonald, 2019/03/21
- [Octave-bug-tracker] [bug #55968] [octave forge] (symbolic) Incorrect simplify to sinc function, Mike Miller, 2019/03/21
- [Octave-bug-tracker] [bug #55968] [octave forge] (symbolic) Incorrect simplify to sinc function, Z. M., 2019/03/22
- [Octave-bug-tracker] [bug #55968] [octave forge] (symbolic) Incorrect simplify to sinc function, Colin Macdonald, 2019/03/22
- [Octave-bug-tracker] [bug #55968] [octave forge] (symbolic) Incorrect simplify to sinc function, Colin Macdonald, 2019/03/22
- [Octave-bug-tracker] [bug #55968] [octave forge] (symbolic) Incorrect simplify to sinc function, Z. M., 2019/03/25
- [Octave-bug-tracker] [bug #55968] [octave forge] (symbolic) Incorrect simplify to sinc function, Mike Miller, 2019/03/25