[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: row vectors changed to column vectors?

From: Christian T. Steigies
Subject: Re: row vectors changed to column vectors?
Date: Wed, 11 Feb 2004 08:38:14 +0100
User-agent: Mutt/

On Tue, Feb 10, 2004 at 11:59:43AM -0600, Mike Miller wrote:
> >
> > Yes, it is slow, what do you suggest? Should I create a matrix with
> > zero(N,1) first? Looks as if it is just a few ms difference.
> If N is 1000000, is it still just a matter of a few ms?  For small N there
> well be very little difference.  I think the zeros(N,1) method is good.

1e6 might be a little hard on my notebook, especially when I need to create
a NxN matrix out of it. For small N it does not seem to make a difference at
all, the rest of the algorithm is way more inefficient. But in my case, N
wont be too large. Thanks anyway, I can sure use that later on.

> If you can be more exlicit about what you're doing (e.g., with "gluing"
> and "rotating"), we might help you better.

Sorry, I lack the mathematical terms for that, but this is solved thanks to
Przemek Klosowski, Paul Kienzle, and toeplitz().


Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:
How to fund new projects:
Subscription information:

reply via email to

[Prev in Thread] Current Thread [Next in Thread]