Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: usage of " . " in these two equations !!!
Date: Thu, 19 Feb 2009 16:22:01 +0000 (UTC)
Organization: Mitre Corp
Lines: 20
Message-ID: <gnk0v9$rr1$1@fred.mathworks.com>
References: <gnftna$jud$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-02-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1235060521 28513 172.30.248.37 (19 Feb 2009 16:22:01 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Thu, 19 Feb 2009 16:22:01 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 2318
Xref: news.mathworks.com comp.soft-sys.matlab:519487


"Kuo-Hsien" <mchangks@hotmail.com> wrote in message <gnftna$jud$1@fred.mathworks.com>...
> Dear all,
> I got the following error message:
> 
> ??? Error using ==> mrdivide
> Out of memory. Type HELP MEMORY for your options.
> 
> Error in ==> weather4Elora at 57
> ec_sh_06=0.622*ec_es_06/(ec_p_06-0.378*ec_es_06);
> 
> 
> However, I thought I probably the equation need to be modified to the following one.
> ec_sh_06=(0.622.*ec_es_06)./(ec_p_06-0.378.*ec_es_06);
> 
> What is the difference between these two equations? Why do we need to put a " . " behind numbers? Can you guys help me to under this usage?
> 
> Thanks,
> Michael

Besides what others have already replied, you don't "need" the dots behind numbers (scalars).  But you do "need" them before the slash (divide) in your case above.