Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: How to make the function 'norm' treat its input as vectors?
Date: Wed, 13 Oct 2010 22:08:04 +0000 (UTC)
Organization: Xoran Technologies
Lines: 11
Message-ID: <i95ak3$srq$1@fred.mathworks.com>
References: <i938ok$smb$1@fred.mathworks.com> <i93kdo$o8f$1@fred.mathworks.com> <i94def$3h4$1@fred.mathworks.com> <i94mh3$9c3$1@fred.mathworks.com> <i94v8c$r8p$1@fred.mathworks.com> <i958vn$cjb$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-05-blr.mathworks.com
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1287007684 29562 172.30.248.35 (13 Oct 2010 22:08:04 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Wed, 13 Oct 2010 22:08:04 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1440443
Xref: news.mathworks.com comp.soft-sys.matlab:678254

"Jan Simon" <matlab.THIS_YEAR@nMINUSsimon.de> wrote in message <i958vn$cjb$1@fred.mathworks.com>...
> Dear Matt,
> 
> > norm(a) -> 0.003428
> > sqrt(a*a.') -> 0.001468
> > sqrt(mtimesx(a,a,'t')) -> 0.001392
> 
> Fine! What a pitty, that this does not work for arrays.
====

It does! (See message 8).