MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi
Learn moreOpportunities for recent engineering grads.
Apply TodayMATLAB Central > MATLAB Newsreader > Comparing individual cells of matrix with another ... 

Subject: Comparing individual cells of matrix with another matrix From: Avni Date: 8 Apr, 2013 22:47:08 Message: 1 of 7 
I have a matrix A which is a 20 by 40 and matrix B which is 20 by 55. I am trying to divide each cell with matrix A with each cell in Matrix B to create a new matrix C. However, I am not trying to use loops because the program will take forever to run. I tried looking in to the bsxfun function however, it says i need both matrixes to be the same dimensions and I repmat does not really work. 
Subject: Comparing individual cells of matrix with another matrix From: dpb Date: 8 Apr, 2013 22:51:37 Message: 2 of 7 
On 4/8/2013 5:47 PM, Avni wrote: 
Subject: Comparing individual cells of matrix with another matrix From: Avni Date: 8 Apr, 2013 22:58:09 Message: 3 of 7 
dpb <none@non.net> wrote in message <kjvhlr$28o$1@speranza.aioe.org>... 
Subject: Comparing individual cells of matrix with another matrix From: dpb Date: 8 Apr, 2013 23:15:49 Message: 4 of 7 
On 4/8/2013 5:58 PM, Avni wrote: 
Subject: Comparing individual cells of matrix with another matrix From: Roger Stafford Date: 8 Apr, 2013 23:25:09 Message: 5 of 7 
"Avni " <aac46@drexel.edu> wrote in message <kjvi21$rd7$1@newscl01ah.mathworks.com>... 
Subject: Comparing individual cells of matrix with another matrix From: Bruno Luong Date: 9 Apr, 2013 05:56:05 Message: 6 of 7 
"Avni " <aac46@drexel.edu> wrote in message <kjvhdc$prc$1@newscl01ah.mathworks.com>... 
Subject: Comparing individual cells of matrix with another matrix From: Roger Stafford Date: 9 Apr, 2013 16:57:18 Message: 7 of 7 
"Bruno Luong" <b.luong@fogale.findmycountry> wrote in message <kk0ahl$2mb$1@newscl01ah.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.