Path: news.mathworks.com!newsfeed-00.mathworks.com!newsfeed2.dallas1.level3.net!news.level3.com!postnews.google.com!24g2000hsh.googlegroups.com!not-for-mail
From: Greg Heath <heath@alumni.brown.edu>
Newsgroups: comp.soft-sys.matlab
Subject: Largest Common Factor
Date: Tue, 29 Apr 2008 17:12:05 -0700 (PDT)
Organization: http://groups.google.com
Lines: 9
Message-ID: <7ebde538-62ed-4bba-aed4-15843490c573@24g2000hsh.googlegroups.com>
NNTP-Posting-Host: 69.141.173.117
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-Trace: posting.google.com 1209514325 25406 127.0.0.1 (30 Apr 2008 00:12:05 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Wed, 30 Apr 2008 00:12:05 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: 24g2000hsh.googlegroups.com; posting-host=69.141.173.117; 
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; 
Xref: news.mathworks.com comp.soft-sys.matlab:465830


What is the best way to find the largest common
factor of an array? For example, 4.1 is the largest  common factor of
[12.3 20.5 32.8]].
I've looped over whole fractions of 12.3 to
get an integer array but feel there must be a better way.

Thanks,

Greg