|
From: | Sebastian |
Subject: | [Octave-bug-tracker] [bug #49402] Output of odeXY must be transposed when returning a structure |
Date: | Fri, 21 Oct 2016 10:26:19 +0000 (UTC) |
User-agent: | Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_1) AppleWebKit/602.2.14 (KHTML, like Gecko) Version/10.0.1 Safari/602.2.14 |
URL: <http://savannah.gnu.org/bugs/?49402> Summary: Output of odeXY must be transposed when returning a structure Project: GNU Octave Submitted by: sschoeps Submitted on: Fri Oct 21 10:26:16 2016 Category: Octave Function Severity: 3 - Normal Priority: 5 - Normal Item Group: Matlab Compatibility Status: None Assigned to: None Originator Name: Originator Email: Open/Closed: Open Discussion Lock: Any Release: 4.2.0-rc2 Operating System: Any _______________________________________________________ Details: Output of odeXY must be transposed when returning a structure. This es example says everything: fvdb = @(vt,vy) [vy(2); (1 - vy(1)^2) * vy(2) - vy(1)]; sol=ode23(fvdb,[0 40],[2 0]); size(sol.x) %[309 1] instead of [1 309] in Matlab size(sol.y) %[309 2] instead of [2 309] in Matlab Patch for ode23 is attached. _______________________________________________________ File Attachments: ------------------------------------------------------- Date: Fri Oct 21 10:26:16 2016 Name: ode_sol_trans.patch Size: 5kB By: sschoeps <http://savannah.gnu.org/bugs/download.php?file_id=38783> _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?49402> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |