General
27 results found
-
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 voteThanks for the feedback. There is another suggestion already open for this feature. I encourage you to vote for it:
I am closing this suggestion as a duplicate.
-
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 voteFor combining “save” with “run”, I encourage you to upvote the older suggestion specifically about this feature:
https://octaveonline.uservoice.com/forums/211888-general/suggestions/6745712-save-at-running
For keyboard shortcuts, you can press Ctrl/Cmd+S followed by Ctrl/Cmd+R to save and run your script file. These shortcuts are documented on the “Tips and Tricks” page when you first sign in.
-
increase time limit
support for folders saving option
1 vote -
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 voteThanks for the feedback. This is a question relevant to GNU Octave itself, not the online interface. You should consider emailing help@octave.org with your suggestion.
-
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 voteThis is a feature of GNU Octave, not of Octave Online. You may want to suggest this feature to the GNU Octave developers.
-
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 voteThe ceil function is working properly. You may be experiencing an issue involving floating-pooint arithmetic.
-
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/pythonipcpopen2.m at line 115, column 5…1 voteI’m unable to reproduce this issue. It may have had to do with heavy server load.
-
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 voteHi 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
-
1 vote
-
error: 'fitcsvm' undefined
error: 'fitcsvm' undefined
1 voteThanks for the idea. This function is unavailable in GNU Octave. You should consider contributing an implementation of it to the community: for more information, visit http://www.octave.org/missing.html.
-
Correcting the trigonometric results
sin(100000000000000000000000000000000000000000000 * pi) = 0 I think, but the service told me that ans = -0.99999, it's very strange
1 voteHi 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.
-
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 votesHi Victorel! I’m merging this ticket with the main idea ticket for “Increase Time Limit”. I posted your note as a comment on that idea ticket.
-
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 voteHi, 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.
-
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 voteHi, 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.
-
1 vote
Thanks for your feedback. I am merging this idea with the one below:
http://octaveonline.uservoice.com/forums/211888-general/suggestions/7451341-publish-script-files
-
adding the control toolbox.
I use Octave online for teaching engineers. It would be nice to be able to build transfer functions.
1 voteHi,
I am closing this ticket. If you still have issues, feel free to open a new ticket with more details on the error you are experiencing.
-Shane
-
square wave
plot square wave
1 voteHi 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
-
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 voteHi Fillipi,
This is not a bug in Octave or Octave Online, it is a result of loss of precision when using floating-point arithmetic. For more information, see:
http://wiki.octave.org/FAQ#Why_is_this_floating_point_computation_wrong.3F
Thanks for the support,
Octave Online Team -
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 voteThe 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); -
Support creation of multiple figures
Not always it is satisfactory to plot/graph something on top of a previous graph, if it is desirable to see both at once. For ex: 2 graphs that have different x -y ranges, or a plot and a histogram etc.
If it will be too resource intensive, then would be nice to have at least a maximum # of figures allowed (say, 5).
Thanks!0 votes
- Don't see your idea?