[Top][All Lists]

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

[Octave-bug-tracker] [bug #57726] [octave forge] (symbolic) double not w

From: Jing-Chen Peng
Subject: [Octave-bug-tracker] [bug #57726] [octave forge] (symbolic) double not working on symbolic expressions
Date: Mon, 3 Feb 2020 17:27:23 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.130 Safari/537.36

Follow-up Comment #5, bug #57726 (project octave):

The following code runs just fine in matlab:

clear all
syms y(t)
dy = diff(y)
deq = diff(y, 2) + dy + y == 0
soln = dsolve(deq, y(0) == 1, dy(0) ==  0)
y_eval = double(vpa(subs(soln, t, 4)))

Sorry for the messy post / double post, first time on the forums and having a
bit of trouble getting around haha


Reply to this item at:


  Message sent via Savannah

reply via email to

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