Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: dimensional error
Date: Wed, 26 May 2010 07:33:05 +0000 (UTC)
Organization: Universit&#228;tsSpital Z&#252;rich
Lines: 15
Message-ID: <htiirg$m6e$1@fred.mathworks.com>
References: <hthql9$da0$1@fred.mathworks.com>
Reply-To: <HIDDEN>
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 1274859185 22734 172.30.248.37 (26 May 2010 07:33:05 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Wed, 26 May 2010 07:33:05 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 11
Xref: news.mathworks.com comp.soft-sys.matlab:639323

"Sepehr Sadighpour" 
>     for n=1:1000;
>         randn('state',1)
>         fbm100(:,n,H*20) =  wfbm(H,lg);
>     end

others have shown you solutions to your problem...
just another thought:
- do NOT call
     randn('state',1);
  in a loop(!)...
- there have been a number of posts in this NG dealing with this;
  look for rand/state/etc...

us