Skip to content

General

27 results found

  1. 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…)
  2. Abnouxious execution

    It's very bad that you have to press two buttons (save + run) to see the results. A single button, or even better, a keyboard shortcut, would work a lot better!!

    You might want to look at matlab.mathworks.com to have some ideas on how to improve the UI. That looks a lot better :) sorry

    1 vote
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
  3. increase time limit

    support for folders saving option

    1 vote
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    declined  ·  4 comments  ·  Admin →
  4. call-by-reference should be possible

    I want to implement "quick sort" as an in-place recursive function. However, as I understand, Octavve only supports call-by-value. Therefore it seems that I cannot implement what I want. This occurs odd to me. I have no trouble with call-by-value being the standard parameter passing mode. That it would be the only such mode seems to be a questionable choice.

    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. plot and subplot

    Always when I plot a simple graph after it'd been plotted a multiple plot in the same window (i.e subplot ) it mix the graphics

    1 vote
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
  6. ceil function is wrong..??

    x=-5:0.1:5;
    y=ceil(x);
    plot(x,y);
    axis([-5 5 -5 5]);
    title('y=ceil(x)');

    1 vote
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
  7. 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…)
  8. 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

  9. 1 vote
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
  10. 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…)
  11. 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.

  12. 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 →
  13. 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.

  14. 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.

  15. 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. 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…)
  17. 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

  18. 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…)
  19. 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);

  20. 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 →
← Previous 1
  • Don't see your idea?

General

Categories

Feedback and Knowledge Base