Skip to content

General

27 results found

  1. 6 votes
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
  2. 4 votes
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)

    Thank you for the feedback. You may be able to do this by adding settings to your .octaverc file. For more information, you can e-mail GNU Octave at help@octave.org.

    In Octave Online, you can currently edit .octaverc manually using the octave prompt. A feature planned for a future release of Octave Online includes a more streamlined approach to editing .octaverc.

  3. Increase the default time limit

    Hi,

    The 10 seconds for signed in users is not enough. I am working with the symbolic package, and here are some sample times. Note how elementary the computations are.

    octave:110> tic, [x, y ,z]=solve(x+y+z==6, x-y+z==2, x+2*y-z==2, x, y, z), toc
    x = (sym)!!! OUT OF TIME !!!
    1
    y = (sym) 2
    z = (sym) 3
    Elapsed time is 10.021 seconds.

    octave:108> tic, [x, y ,z]=solve(x+y+z==6, x-y+z==2, x+2*y-z==2, x, y, z), toc
    x = (sym) 1
    y = (sym) 2
    z = (sym) 3
    Elapsed time is 8.73142 seconds.

    octave:93> tic, [x, y ,z]=solve(x+y+z==6, x-y+z==2, x+2*y-z==2, x, y, z),…

    3 votes
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    1 comment  ·  Admin →
  4. syms Matlab command doesn't work

    the 'syms x' command doesn't work in online terminal:
    octave:33> syms x
    out = <output_block>
    <list>
    <item>
    <f>
    1003
    </f>
    <f>
    Communication established.
    </f>
    </item>
    <item>
    <f>
    1003
    </f>
    <f>
    0.7.6
    </f>
    </item>
    <item>
    <f>
    1003
    </f>
    <f>
    2.6.6 (r266:84292, Jan 22 2014, 09:42:36)
    [GCC 4.4.7 20120313 (Red Hat 4.4.7-4)]
    </f>
    </item>
    </list>
    </output_block>

    A =
    {
    [1,1] =
    Communication established.

    [1,2] =
    0.7.6

    [1,3] =
    2.6.6 (r266:84292, Jan 22 2014, 09:42:36)
    [GCC 4.4.7 20120313 (Red Hat 4.4.7-4)]

    }
    error: ipcpopen2: failed to send variables to python?
    error: called from:
    error: /usr/local/share/octave/packages/symbolic-2.1.0/private/python
    ipcpopen2.m at line 115, column 5

    1 vote
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
  5. fix parsing/display problem

    When an incomplete line is input, the interface doesn't display that. You have to type Enter for a second time to see the line continuation prompt

    1 vote
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    1 comment  ·  Admin →
  6. Allow Variable Saving!

    I noticed that connection losses reset the variables. Saving the variables would be helpful in case of disconnects.

    P.S. This is Ryan

    1 vote
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)

    Hi Ryan,

    Sorry for the late response.

    Sessions and variables should be saved for up to 15 seconds if your connection is temporarily lost. If you have frequent disconnects, it is good practice to periodically save variables to a *.mat file (using Octave’s “save” function).

    Shane

  7. 1 vote
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
  8. error: 'fitcsvm' undefined

    error: 'fitcsvm' undefined

    1 vote
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
  9. Correcting the trigonometric results

    sin(100000000000000000000000000000000000000000000 * pi) = 0 I think, but the service told me that ans = -0.99999, it's very strange

    1 vote
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)

    Hi Alexander. The problem you are running into is a numerical precision issue. Numbers on the order of 1e44 do not have the level of precision required to make the sin() function evaluate them to their true algebraic value.

  10. I realized the problem is because your warning "syms ..."

    The idea is to upload the Matlab syms.m function and change its name to ssyms for instance, then

    sssyms x y z

    it works fine

    1 vote
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)

    Hi, thanks for pointing this out. I’ve gone ahead and made the Symbolic package automatically in the Octave load path, including the built-in “syms” function. There was a major upgrade to the Symbolic package last month, which seems to have significantly improved the stability.

  11. syms

    I tried to upload the Matlab syms (see below) function but, for instance

    syms s t

    do not works.


    function syms(varargin)
    %SYMS Short-cut for constructing symbolic objects.
    % SYMS arg1 arg2 ...
    % is short-hand notation for
    % arg1 = sym('arg1');
    % arg2 = sym('arg2'); ...
    %
    % SYMS arg1 arg2 ... real
    % is short-hand notation for
    % arg1 = sym('arg1','real');
    % arg2 = sym('arg2','real'); ...
    %
    % SYMS arg1 arg2 ... positive
    % is short-hand notation for
    % arg1 = sym('arg1','positive');
    % arg2 = sym('arg2','positive'); ...
    %
    % SYMS arg1 arg2 ... clear
    % is short-hand notation for…

    1 vote
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)

    Hi, thanks for pointing this out. I’ve gone ahead and made the Symbolic package automatically in the Octave load path, including the built-in “syms” function. There was a major upgrade to the Symbolic package last month, which seems to have significantly improved the stability.

  12. 1 vote
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
  13. adding the control toolbox.

    I use Octave online for teaching engineers. It would be nice to be able to build transfer functions.

    1 vote
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
  14. square wave

    plot square wave

    1 vote
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)

    Hi Aya,

    Thanks for supporting Octave Online. Your question relates to GNU Octave, not the online interface. I recommend you refer to the GNU Octave documentation for more information on how to plot square waves.

    Thanks, Shane

  15. correct the trigonometric function or pi constant

    There is a problem when octave calculate cos(pi/2) (and probably other trigonometric funtions). Instead of 0 it results in 3.2679e-07, which is a "good" approximation, but not the right answer. It may be corrected.

    1 vote
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
  16. there is a wrong in plot command. I suggest that you have to check that and get better.

    I wrote this code:

    k=1.7;
    a=1.5;
    t1=1400;
    t2=1150;
    for l=0.15:0.15:0.90;
    Q=-ka((t2-t1)/l);
    disp(Q);
    end;

    ans:
    4250
    2125
    1416.7
    1062.5
    850.00
    708.33
    and I wrote :
    plot(Q,l);
    but ıt doesnt work to plot command.

    1 vote
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    1 comment  ·  Admin →

    The code is not correct for plotting. When you call plot, there is a scalar inside of Q. You need a vector inside Q. Try this code instead.

    octave:1> k=1.7;
    octave:2> a=1.5;
    octave:3> t1=1400;
    octave:4> t2=1150;
    octave:5> I=0.15:0.15:0.90;
    octave:6> Q=-k*1*((t2-t1)./I);
    octave:7> plot(Q,I);

  17. cannot plot histogram

    i did following

    x = randn(1,10000);
    hist(x); % doesnt work
    plot(hist(x)) % prints garbage in plot window

    1 vote
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    1 comment  ·  Admin →
  18. GUI manual rotation of 3d plot

    I'm new to octave. Is there a way to take a 3d plot, like the sombrero, and drag it around to see different angles? Auto rotate would also be cool.

    1 vote
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
  19. 1 vote
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
  20. Other ways to log in

    like fb, openid, email, ... and the ability to save scripts, functions, diary, workspace and stat of octave per user

    1 vote
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
← Previous 1
  • Don't see your idea?

General

Categories

Feedback and Knowledge Base