-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hello,
I installed Emacs 23.1.1 and Octave 3.2.3 on my computer running Vista.
To make Emacs find Octave, and to make Octave's prompt what Emacs expects, I added the following to the end of my .emacs file:
(setq inferior-octave-program "C:/Octave/3.2.3_gcc-4.4.0/bin/octave-3.2.3.exe")
(setq inferior-octave-startup-args…
>>> More
-
as seen on Ask Ubuntu
- Search for 'Ask Ubuntu'
I want to install the GNU Octave optim package, but I keep receiving errors in the process. Apparently I need to install some other packages first, one of which is the general package. However, when I try to, I receive this error:
octave:17> pkg install general-1.3.2.tar.gz
make: /usr/bin/mkoctfile:…
>>> More
-
as seen on Super User
- Search for 'Super User'
If the title to this question seems a bit vague, I am sorry. But I wasn't sure how to distill what I am attempting to do into a single sentence.
A few weeks back I learned that I could build and install recent releases of Octave on an Ubuntu 12.04 system by following the steps below.
Install the…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hi everyone,
Im trying to plot the roots of a polynomial, and i just cant get it.
First i create my polynomial
p5 = [1 0 0 0 0 -1] %x^5 - 1
r5 = roots(p5)
stem (p5)
Im using the stem function, but I would like to remove the stems, and just get the circle around the roots.
Is this possible, is…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I came into matrix world from loop world(C, etc)
I would like to call a function on each individual member of a vector/matrix, and return the resulting vector/matrix.
This is how I currently do it:
function retval = gauss(v, a, b, c)
for i = 1:length(v)
retval(i) = a*(e^(-(v(i)-b)*(v(i)-b)/(2*c*c)));
…
>>> More