help-octave
[Top][All Lists]
Advanced

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

Re: repmat (was "Computing distance matrix robustly")


From: Tom Holroyd
Subject: Re: repmat (was "Computing distance matrix robustly")
Date: Mon, 03 Oct 2005 11:24:34 -0400
User-agent: Mozilla Thunderbird 1.0.6-1.1.fc3 (X11/20050720)


Is there an advantage to using repmat instead of kron as follows:
kron(ones(m, n), X)
vs.
repmat(X, m, n)

In 2.9.3 kron is built-in so it's a huge winner.

--
Dr. Tom Holroyd
"A man of genius makes no mistakes. His errors are volitional and
are the portals of discovery." -- James Joyce



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

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------



reply via email to

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