Software :: Octave (v3.2): Initialize Vector/matrix Without Screen Output
Oct 22, 2010
I have recently installed Octave on my desktop and I am very busy with RTFM ATM.However, this manual is huge and I could not find an answer to my problem. What I basically want to do is initialize a vector like
Code:
a=[]
for i 1:100
a = [ a i ]
endfor
Now my problem is that this will call the pager and I have to hit 'q' to get my prompt back. I know I can turn it off but the screen will still get cluttered with tons of output.Is there a way to initialize 'a' quietly without any screen output?
View 2 Replies
ADVERTISEMENT
Jan 29, 2011
I have a .txt file with the format
0.01
0.04
0.07
...
0.83
I am wanting to load this into octave and perform operations on the data.
[Code]...
View 2 Replies
View Related
Sep 2, 2010
I'm making a multimedia library to speedup vector and matrix computation. But I'm getting a strange error, in this code
[Code]....
View 4 Replies
View Related
Apr 13, 2011
I just can't find... why is my code seg-faulting?
PHP Code:
/*
Code name: Assignment #7.
File name: slice.c
Program name: Matrix multiplication (parallel version).
Version: 1.
[Code]...
Is giving my a seg-fault right at the ending point where I do the final gather from the MASTER processor.
View 9 Replies
View Related
Jul 8, 2010
my sound works when i boot up but as soon as i play a couple of files with VLC video or audio it doesn't matter the sound stops and comes up with an error saying: ALSA version problem:VLC failed to re-initialize your sound output device. Please update alsa-lib to version 1.0.22 or higher to fix this issue.Potential ALSA version problem:VLC failed to initialize your sound output device (if any).Please update alsa-lib to version 1.0.23-2-g8d80d5f or higher to try to fix this issue. I found latest version on net and installed and yast said install fail version already installed my sound device is HDA Intel (ALC C880 Analog)
View 1 Replies
View Related
Jan 3, 2011
when i start uubuntu it automatically goes to tty with out letting me login. then when i press startx it says:
NVIDIA: failed to initialize the nvidia graphics device pci:0:13:0
nvidia: please check your systems kernal log for additional erroe
nvidia: messages and refer to chapter 8
nvidia: failed to initialize the nvidia graphics device!
nvidia: screen found, but none have a usable configuration
fatal screen error: no screen found
right before this i had activated a nvidia graphics device
View 9 Replies
View Related
Aug 7, 2010
I've been having a recurring problem on Slackware64 13.1. If I open VLC (or any other media player available for Slackware) before I open Firefox, then my sound works 100% and there's never any problem, however, if I open Firefox first, and there happens to be a flash video loading, then any other media player (mplayer-plugin, Amarok or VLC) will fail to play sound. VLC tells me:
Quote: Potential ALSA version problem: VLC failed to initialize your sound output device (if any). update alsa-lib to version 1.0.24 or higher to try to fix this issue. Now, I'm happy to do that if it will actually fix the problem, though I'll have to figure out how seeing as I'm something of a n00b. The thing is that I've not really done anything to alsa except run alsaconf on my first boot, so I'm not sure if that's really the problem I've been using Slackware64 for a few months now, I'm on my first ever install and for the most part I'm loving it. Been working through the little things that have been annoying me, and for the most part I've managed to find solutions either by reading the Slackbook, by browsing LQ or by doing a quick Google search. However, I can't seem to find any reference to this specific problem anywhere and I'm not sure what I should do.
View 14 Replies
View Related
Mar 28, 2011
I ran Ubuntu desktop for a while then installed Ubuntu Server 10.4. I restarted the machine after install and now I am freezing at the BIOS loading screen right after the "Intel (R) Matrix Storage Manager option ROM v6.0.0.1022 ICH8R" part.Have tried: taking all USB devices, cd's, etc, out.Edit: ATA AHCI BIOS, Version iSrc 1.02.23 11212006Am installing on a Dell Dimension E520
View 1 Replies
View Related
Mar 24, 2011
To anyone who got octave: The issue: whenever I call the function "dmperm", it gives me the following
Code:
error: dmperm: not available in this version of Octave
Typing dmperm(3) gives that. However, dmperm alone gives some instructions on how to use this. So it is seemingly there.
Getting the same thing? What I got is octave 3.4.0, on openSUSE 11.4 x86-64. I tried with the one in repos contrib, the one in packman, and the one in contrib:Factory. Same outcome. It could be that there is some missing dependencies that were not specified by the packager, perhaps. This older post Octave - General - dmperm mentioned some packages. Things I did not have I got installed: libumfpack5 umfpack-devel bison flex I could not install "umfpack" as such. It is a source package. It still does not work..........
View 1 Replies
View Related
Feb 23, 2010
I'm trying to download ocatve, and on the gnu.org website there are two file packages available. There is a "tar.gz" and a "tar.bz2". Are these two packages different versions of the same thing? Or are both of these packages necessary? And...if there is a difference, which package would be more suitable for Hardy 8.04?
View 2 Replies
View Related
Nov 19, 2015
I am trying to install octave 4 in my debian wheezy, and I am getting following error after I have executed ./configure
checking for sgemm_ in -lmkl... (cached) no
checking for sgemm_ in -framework vecLib... no
checking for sgemm_ in -lcxml... (cached) no
checking for sgemm_ in -ldxml... (cached) no
checking for sgemm_ in -lscs... (cached) no
checking for sgemm_ in -lcomplib.sgimath... (cached) no
checking for sgemm_ in -lblas... (cached) no
checking for sgemm_ in -lblas... (cached) no
configure: error: A BLAS library was detected but found incompatible with your Fortran 77 compiler settings.
I have tried to find a solution about issues installing octave 4 from binaries. I can not use octave from the repository as it is old for my studies.
View 1 Replies
View Related
Sep 2, 2011
Any one use octave while taking a matlab class? I am currently in MATLAB but cant offord the software and there are no trials of it. The studernt edition is still expensive and i need to save money. I have been going in during math class to do matlab homework but i cant keep skipping math since i am a mechanical engineer.
View 14 Replies
View Related
Jan 12, 2010
Has anybody used both of these programs? How do they compare? Is Octave a good substitute for Matlab? How similar are the programing languages?
View 4 Replies
View Related
Jun 25, 2010
I am trying to compile octave-3.2.4 with centos 5.5 and I get the following error
[code]...
I have looked and I can not find any solutions.
View 2 Replies
View Related
Nov 10, 2009
I installed octave in my OpenSUSE 11.2 KDE system from Yast. When I launch it with the command "octave" on my shell, this is the message I receive: "octave: error while loading shared libraries: liboctave.so: cannot open shared object file: No such file or directory". What's the problem? Is it a known problem to be solved in the 11.2 RC2 or I have to do something else?
View 9 Replies
View Related
Mar 19, 2011
This is the error: Could not initialize the package information An unresolvable problem occurred while initializing the package information. Please report this bug against the 'update-manager' package and include the following error message:
'E: Dynamic MMap ran out of room. Please increase the size of APT::Cache-Limit. Current value: 25165824. (man 5 apt.conf), E:Error occurred while processing libwpeditor-dev (NewFileVer1), E: Problem with MergeList /var/lib/apt/lists/de.archive.ubuntu.com_ubuntu_dists_karmic_universe _binary-amd64_Packages, E:The package lists or status file could not be parsed or opened.'
View 1 Replies
View Related
Mar 20, 2011
I'm not really a C++ noob at all, but I am a little rusty at the moment. Still, I CANNOT figure out what is wrong with the following code. I'm using Visual Studio 2010.
Code: #include <iostream>
#include <fstream>
#include <vector>
#include <string>
[Code]....
I THINK I got all of the pertinent code. Anyway, it fails at the *** line. I CANNOT figure out why. If I modify it to be linein.size()-30, it STILL gives me an error. That makes zero sense.
View 3 Replies
View Related
Jun 2, 2011
From where can I get some Ebooks on Vector graphics. Also an Ebook on Operating systems
View 1 Replies
View Related
Dec 9, 2010
I just found in kernel-2.6.35.3, in file arch/x86/kernel/irq.c:
unsigned int __irq_entry do_IRQ(struct pt_regs *regs)
{
struct pt_regs *old_regs = set_irq_regs(regs);
/* high bit used in ret_from_ code */
unsigned vector = ~regs->orig_ax;
[Code]...
Does any body know the relationship between the vector number and irq number?
View 1 Replies
View Related
Sep 3, 2010
i need to implement a Set class(like in stl) using a vector.Here is my code that doesnt work corectly:
Code:
#include <iostream>
#include <vector>
template<class T>
class Set
{
[Code]....
View 2 Replies
View Related
Jan 17, 2011
is there any problem that might rise by by having a vector as a member of struct in c++ as follows.ex.
struct A
{
int a;
[code]...
View 2 Replies
View Related
Jun 19, 2010
I am trying to simulate a shell. So what I do is checking of having the parameters from standard input, suc as "/bin/ls -l /home/france/Documents", and then passing them to function execute, which at some point calls execvp(argv[0],argv)The problem is that I don't succeed in using these arguments, while if I call execvp(paramList[0],paramList) it works!!!! Where paramList is exactly what I would put on standard input, but defined statically.
Code:
#include<unistd.h>
#include<stdio.h>
#include<stdlib.h>
#include<string.h>
[code].....
View 2 Replies
View Related
Jul 16, 2010
How would I convert from a bitmap file to vector graphics?
I found this inkscape tutorial, but it only converts it into b&w vector graphics. Is it possible to do it preserving at least some of the original colours?
View 1 Replies
View Related
Mar 4, 2011
I have a vector of octets that needs to be converted to a std string. I'm currently doing it this way:
Code:
stringstream ss;
for (unsigned int i=0; i < data.size(); i++
{
ss << data[i];
}
string s_data = ss.str();
This works, but is there any better way to do it?
View 2 Replies
View Related
Mar 23, 2010
Is it not possible to declare a vector inside a C++ class ? Have a look at the following code:
Code:
#include <stdio.h>
#include <iostream>
#include <malloc.h> // malloc
#include <strings.h> // bzero
[code]....
View 2 Replies
View Related
Sep 8, 2010
I have two functions:
Quote:
void func1(std::string &s)
{
s.clear();
}
[code]....
Is there a way to create one template function for both vector and string that would clear them?
View 4 Replies
View Related
Mar 3, 2011
I was fiddling with some svg icons and I needed a slack svg logo: looking on the propaganda page, I spotted this jpg that looked like a nice and clean candidate. So I fired up inkscape and tried to manually trace a (manageable) svg version out of it. Then I thought that maybe an editable vector version of it can be useful to someone else and, as asked by Pat, I release it here under the GPL. [URL]. (gotta say I haven't looked around if any other logo svg has been posted before, but, clicking on the "Click Here to Find Similar Threads" found this funny one )
View 12 Replies
View Related
Feb 12, 2011
first of all, during last few days I've visited this forum and asked for help, all in trying to fix the problem which I had. I failed to do so, and I am really frustrated now, as it is off very big importance.I'm huge fan of linux and fedora, so it kills me to have to boot to windows to do simple thing.
Problem: I bought DELL Vostro 3300. When I try to connect it through VGA(only output it has) to my monitor (tried different monitors, same effect), my screen wobbles. The higher the resolution -> higher the wobbling is. It is almost impossible to read text due to this. I attached extension which I recorded the wobbling (mp4 extension). Wobbling is even during linux startup, before xorg is loaded.
On lowest resolution wobbling is very little. It's same on different frequncies. I've tried different kernels but with no success.
What's important, it's not faulty hardware, since it works fine on Windows.
The problem has same characteristic as one mentioned here in buglist. In new kernel it's supposed to be fixed as I understand(?) but it's not for me.
View 3 Replies
View Related
May 2, 2011
I have two monitors on my Ubuntu 11.04 system. One of the monitors is an Insignia 32" tv. My problem is that the output from the computer is too big for the screen (when windows are maximized they extend past the edge of the screen). I have tried changing settings on the tv which failed, and cant seem to find a way to do it with either my proprietary drivers or the standard Ubuntu Monitors thing.My video card is a Radeon HD 4670.Currently I am not using proprietary drivers
View 2 Replies
View Related
Oct 29, 2010
so I have been messing around with the new Vector 7.0 alpha and wanted to install the nvidia driver and see if it would work. my video card and cpu are as follows
Code:
root:# lshw
PCI (sysfs)
vector.linux.net
description: Desktop Computer
width: 32 bits
[Code].....
View 1 Replies
View Related