-
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
-
as seen on Server Fault
- Search for 'Server Fault'
I'm trying to debug a segfault in PHP/Apache running on RHEL4.
This is a production server, so I'm trying to install a separate copy of apache and php, and run apache through gdb.
When I load httpd through gdb and then do run -X, I get the error (no debugging symbols found)...Error while reading…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
HI,
I am normally a C programmer.
I do regularly debug C programs on unix environment using tools like gdb,dbx.
i have never done debugging of big applications of C++.
Is that much different from how we debug in C.
theoretically i am quite good in C++ but have never got a chance to debug C++ programs…
>>> More
-
as seen on Game Development
- Search for 'Game Development'
Hello all.
I'm working on a 3d music visualizer using Ogre3d, basically it's a spectrum analizer, a lot like the old xmms plugin:
(http)://www.youtube.com/watch?v=_6NKBiwYN24
It works well, the bars are drawn and updated, there are no framerate issues, but it crashes randomly. Sometimes it can run…
>>> More
-
as seen on Server Fault
- Search for 'Server Fault'
On a Cisco device, I know that enabling debugging can incur a performance hit since debugging has such a high priority on the CPU. I know that to log debugging, you have to set logging up to the debugging level (logging buffered 4096 debugging, for example) and also enable debugging on some feature…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hi,
The .NET 3.5 application I am working on consists of bunch of different solutions. Some of these solutions consist of managed code(C#) and others have unmanaged code(C++). Methods written in C# communicate with the ones written in C++. I am trying to trace the dependencies between these various…
>>> More