[Top][All Lists]

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

[Octave-bug-tracker] [bug #53190] Can't get out of 'line' mode

From: anonymous
Subject: [Octave-bug-tracker] [bug #53190] Can't get out of 'line' mode
Date: Tue, 20 Feb 2018 03:29:50 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.167 Safari/537.36


                 Summary: Can't get out of 'line' mode
                 Project: GNU Octave
            Submitted by: None
            Submitted on: Tue 20 Feb 2018 08:29:48 AM UTC
                Category: GUI
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Unexpected Error
                  Status: None
             Assigned to: None
         Originator Name: Mark D
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 4.0.3
        Operating System: GNU/Linux



I have been using the following code:

% ws_p08.m

a_c = [3, 4]
dx_c = [5, 12]
v0_c = [33, 56]/5

dx_p = comp2pol(dx_c)
Rx = [dx_c(1), dx_c(2); -dx_c(2), dx_c(1)]/dx_p(1)

v0_p = comp2pol(v0_c) 
Rv0 = [v0_c(1), v0_c(2); -v0_c(2), v0_c(1)]/v0_p(1)

R = Rx' * Rv0

v_c = a_c * R * dx_p(1) / v0_p(1)

dx_o_c = [(v_c(1)^2 - v0_c(1)^2)/(2 * a_c(1)),(v_c(2)^2 - v0_c(2)^2)/(2 *
a_c(2)) ]
dx_o_p = comp2pol(dx_o_c)


function c2p = comp2pol(cv)

   c2p = [(cv(1)^2 + cv(2)^2)^0.5, atand(cv(2)/cv(1))];

The code (ws_p08) runs, but I get into a mode where it tells me what line
I’m at.  Once in that mode I don’t know how to get out of it.  I can’t
even close Octave through normal means (This is what I consider an unambiguous
bug.  The rest could be my ignorance).  I’ve resorted to using a kill
command to close Octave when this occurs.

I am using the Octave GUI.


Reply to this item at:


  Message sent via/by Savannah

reply via email to

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