Path: news.mathworks.com!not-for-mail
From: "John D'Errico" <woodchips@rochester.rr.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Uniform random rotation matrix
Date: Thu, 9 Dec 2010 18:55:14 +0000 (UTC)
Organization: John D'Errico (1-3LEW5R)
Lines: 12
Message-ID: <idr8mi$q71$1@fred.mathworks.com>
References: <idr87f$ho7$1@fred.mathworks.com>
Reply-To: "John D'Errico" <woodchips@rochester.rr.com>
NNTP-Posting-Host: webapp-02-blr.mathworks.com
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1291920914 26849 172.30.248.37 (9 Dec 2010 18:55:14 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Thu, 9 Dec 2010 18:55:14 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 869215
Xref: news.mathworks.com comp.soft-sys.matlab:693985

"Martin " <joonyhur@gmail.com> wrote in message <idr87f$ho7$1@fred.mathworks.com>...
> Hi,
> 
> I'm wondering what is the best way to generate uniform random rotation (orthonormal) matrix with a dimension higher than 4 using matlab.
> 

[Q,R] = qr(rand(5));

Consider the properties of Q.

HTH,
John