Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: sum of matrix's elements
Date: Wed, 9 May 2012 17:39:07 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 9
Message-ID: <joea3q$1uf$1@newscl01ah.mathworks.com>
References: <jobsor$cp0$1@newscl01ah.mathworks.com> <jobvkn$q37$1@newscl01ah.mathworks.com> <joc5nm$mqt$1@newscl01ah.mathworks.com> <joc7ne$16d$1@newscl01ah.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: www-02-blr.mathworks.com
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: newscl01ah.mathworks.com 1336585147 1999 172.30.248.47 (9 May 2012 17:39:07 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Wed, 9 May 2012 17:39:07 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 2548544
Xref: news.mathworks.com comp.soft-sys.matlab:767342

"Roger Stafford" wrote in message <joc7ne$16d$1@newscl01ah.mathworks.com>...
> "Konst " <konstance1@hotmail.com> wrote in message <joc5nm$mqt$1@newscl01ah.mathworks.com>...
> > Thank you both but the data in b are standard and not from a random generator. That is my professor who gave them to me has already run his own programm and found the slope around 1 which means that I'm not doing something right...Thanks though!
> - - - - - - - - - - - -
>   You should remember that matlab's logarithm function, 'log', gives logarithms to the base 'e', not 10.  The factor log(10) = 2.3 which is suspiciously close to 2.2 is the adjustment you would have to make if you wanted log base 10.  Or you could use matlab's 'log10' which does use base 10.  Does that help?
> 
> Roger Stafford

Yes, that was exactly my mistake! Thank you very much.