|
From: | Colin Macdonald |
Subject: | [Octave-bug-tracker] [bug #56069] [octave forge] (symbolic) Laplace transform of sin(w*t) gives wrong value |
Date: | Thu, 4 Apr 2019 03:25:24 -0400 (EDT) |
User-agent: | Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:66.0) Gecko/20100101 Firefox/66.0 |
Follow-up Comment #3, bug #56069 (project octave): It is valid. I originally thought symvar made more sense b/c that's how other places do this magical lets-guess-the-independent-variable game... In the code there are comments like: t = symvar(f, 1); % note SMT does something different, prefers t ... % matlab SMT prefers t over x (WTF not symvar like we do?) I can think of two "fixes": 1. We move the comments up to documentation. 2. We research what Matlab SMT does and try to duplicate it. Pesumably they fall-back on symvar if they don't find t (?) My $0.02: relying on this magic stuff is insane for anything remotely serious; Mike's "workaround" is The Right Way. But I suppose we might as well be insane in the same way as Matlab's SMT. _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?56069> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |