Path: news.mathworks.com!not-for-mail
From: "ching l" <chinglnc@hotmail.com>
Newsgroups: comp.soft-sys.matlab
Subject: matlab random object
Date: Fri, 11 Jul 2008 14:32:02 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 18
Message-ID: <g57qt2$s1s$1@fred.mathworks.com>
Reply-To: "ching l" <chinglnc@hotmail.com>
NNTP-Posting-Host: webapp-05-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1215786722 28732 172.30.248.35 (11 Jul 2008 14:32:02 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Fri, 11 Jul 2008 14:32:02 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1438759
Xref: news.mathworks.com comp.soft-sys.matlab:478852



does rand in matlab only applicable for numbers?

What can I do if I want to randomise the files? 

for examples: 

wavread (file1);
wavread (file2);
wavread (file3);

wavplay rand(file); - the wavplay randomly choose from the
                       wavread

is it possible to do that?

Thanks in advance.