I'm currently working on replicating some of the functionality of Matlab's regionprops function in Octave. However, I have a bit of a hangup on a subset of the functionality. The 'Eccentricity', 'MajorAxisLength', 'MinorAxisLength' and 'Orientation' properties are my sticking point. In the documentation, they all derive from "...the e...
Does anyone know how to increase legend font-size in octave?
...
Hello,
I am working in a research laboratory and my tutor asked me to draw the langerman statistic function with GNUPlot.
Hi gave me this code, that should be able to generate the cordinate.
#include "stdafx.h"
#include "fitness.h"
#include "function.h"
double temp1(double d1, double d0);
double temp2(double d0);
//double RozenBrock(d...
I want to see the values of the function y(x) with different values of x, where y(x) < 5:
y = abs(x)+abs(x+2)-5
How can I do it?
...
I'm currently working on writing a version of the MATLAB RegionProps function for GNU Octave. I have most of it implemented, but I'm still struggling with the implementation of a few parts. I had previously asked about the second central moments of a region.
This was helpful theoretically, but I'm having trouble actually implementing ...
On my first-gen Macbook Pro, with OS X 10.6.1, I can launch gnuplot and get a plot, after I set the terminal to x11, with a command like
plot [-6:6] sin(x).
But when I launch octave, and try a plot command, like
plot([2 3],[4 5]) or plot([-6:0.01:6],cos([-6:0.01:6]))
I get no error messages and no plot. Just another octave prompt. I...
Trying to install the Miscellaneous Package into Octave, I get this string of errors:
octave-3.2.3:17> pkg install miscellaneous-1.0.9.tar.gz
configure: error: in /var/folders/0o/0ox7a-rlFVGd8pZnuF96sE+++TM/-Tmp-/oct-zTlMUh/miscellaneous-1.0.9/src':
configure: error: C compiler cannot create executables
See config.log' for more details....
I have a data set that is composed as such:
2009,11,01,17,00,23,1.471700,1.472000
2009,11,01,17,01,04,1.471600,1.471900
2009,11,01,17,01,09,1.471900,1.472100
2009,11,01,17,01,12,1.472000,1.472300
2009,11,01,17,01,13,1.471900,1.472200
2009,11,01,17,01,14,1.471600,1.471900
2009,11,01,17,01,18,1.471700,1.472000
2009,11,01,17,01,18,1...
This one has me stumped, and none of the other related questions here have given me clues. I'm using regexp to parse a string. When I print t afterward, it looks something like this:
t =
{
[1,1] =
{
[1,1] = HELLO
[1,2] = 1234
}
}
I would like to be able to pull out the HELLO and 1234. I've tried all different ways to ...
I'm trying to run Octave from within emacs (I'm mostly a beginner at both but have the hang of emacs shortcuts now). When I try run-octave as suggested here, I get the message.
Searching for file, no such file or directory, octave
Disclaimer: I'm using Windows Vista.
Octave is in c:\Octave...
the emacs default directory is
c:\use...
Hey Folks,
Let me start by saying I LOVE YOU. Thank you.
Next order of business:
octave-3.2.3:8> xin = imread('3Phone.png');
octave-3.2.3:9> colormap(gray(256));
octave-3.2.3:10> image(xin);
error: invalid value for array property "cdata"
error: set: expecting argument 2 to be a property name
error: set: expecting argument 4 to be a p...
I would like to do element wise addition over matrices while skipping NaN values.
MATLAB and Octave have nansum, but it does column wise addition within a matrix.
Let:
a = NaN * zeros(3)
b = ones(3)
I want:
c = nan+(a, b)
and
c = b
and:
d = nan+(a,a)
and
d = a
...
I would like to add two vectors with different lengths in Matlab or Octave. E.g.
aa = [1 2 3 4];
bb = [100 100];
Which should result in a vector cc containing
cc = [101 102 3 4]
Can anyone figure out how to do this?
Update: This is the code I ended up with for the signals that I then later convert to grey scale images.
load train...
How to find solution to overdetermined systems in Macsyma, Scilab, Octave?
...
I know that Matlab allows for you to format the graph after its created through the interface. However there isn't the same features in Octave. Is there a tool that goes between Octave and GnuPlot? If there isn't such a tool, is there a tool that will generate the formatting options?
I've heard of EasyPlot, but it isn't free.
...
hi, this is sanjay, i am using octave 3.2.2 for image compression using wavelets, i am getting decomposing the image for both approximately and detailed coefficients image . so please can any body can help to complete my project or if any one code please send my mail to email id([email protected])
thanking you
...
How can I put multiple functions in one file and later get access to all of them in the octave interpreter ? I don't want to have a thousand files and want to group functions together. I'd like something like 'import' in python.
...
Is there a way to upgrade my octave version on Ubuntu without downloading the latest version and reinstalling from scratch? (my current version is 3.0.0 and I want the latest stable version)
...
Which is the best framework for automatic testing in octave?
Why?
...
Hi,
I would like to get an invertible matrix in Octave but as integers matrix, so:
x = [9,15;19,2];
inv(x)
and the result is:
[-0.0074906, 0.0561798; 0.0711610, -0.0337079]
but I would like to get [22,17;25,21]
anyone knows how to convert this result? Many thanks.
...