[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #55968] [octave forge] (symbolic) Incorrect si

From: Z. M.
Subject: [Octave-bug-tracker] [bug #55968] [octave forge] (symbolic) Incorrect simplify to sinc function
Date: Tue, 26 Mar 2019 17:36:15 -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

Follow-up Comment #13, bug #55968 (project octave):

@mtmiller: Evaluating numerically is great, but "You will have to ignore the
way that it looks" seems far from something that should be acceptable here. 

Shouldn't the symbolic part be consistent, too?  

Maybe is should be disabled altogether, since it's not possible in MATLAB:

>> syms t x
>> x=sinc(t)
x =
>> rewrite(x,'sinc')
ans =
sin(pi*t)/(t*pi) % No change

And though you can symbolically utilize sinc in MATLAB as shown above, you
can't in Octave:

>> syms q
Symbolic pkg v2.7.1: Python communication link active, SymPy v1.3.
>> sinc(q)
error: subscript indices must be integers or boolean
error: called from
    subsindex at line 64 column 5
    subsref at line 60 column 22
    sinc at line 45 column 7


Reply to this item at:


  Message sent via Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]