MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi
Learn moreOpportunities for recent engineering grads.
Apply TodayNew to MATLAB?
MATLAB Central > MATLAB Newsreader > Greatest commmon divisor 

Hi, any one know how can get the gcd for an array. The function gcd() in matlabe will give result for a array. 
"Feng" <nclxin@hotmail.com> wrote in message <ghukju$ksu$1@fred.mathworks.com>... 
"Feng" <nclxin@hotmail.com> wrote in message <ghul2u$rfp$1@fred.mathworks.com>... 
In article <ghukju$ksu$1@fred.mathworks.com>, nclxin@hotmail.com says... 
Loren Shure <loren@mathworks.com> wrote in message <MPG.23b0d09e505fb8f4989907@news.mathworks.com>... 
"Roger Stafford" <ellieandrogerxyzzy@mindspring.com.invalid> wrote in message <ghum4l$d95$1@fred.mathworks.com>... 
"Jos " <#10584@fileexchange.com> wrote in message <gi7mqt$87b$1@fred.mathworks.com>... 

"Jos " <#10584@fileexchange.com> wrote in message <gi7mqt$87b$1@fred.mathworks.com>... 
"Roger Stafford" <ellieandrogerxyzzy@mindspring.com.invalid> wrote in message <gi7o45$297$1@fred.mathworks.com>... 
In article <gi7uei$22l$1@fred.mathworks.com>, #10584@fileexchange.com 
All the suggestions here will be terribly inefficient for large numbers. Built in gcd functions use sophisticated algorithms to cut down the time to compute. Note that 
"Alice" wrote in message <lohcc6$979$1@newscl01ah.mathworks.com>... 
"Feng" <nclxin@hotmail.com> wrote in message <ghukju$ksu$1@fred.mathworks.com>... 
No tags are associated with this thread.
A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.
Anyone can tag a thread. Tags are public and visible to everyone.