MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi
Learn moreOpportunities for recent engineering grads.
Apply TodayNew to MATLAB?
MATLAB Central > MATLAB Newsreader > Using only upper triangular part of matrix to divi... 

Subject: Using only upper triangular part of matrix to divide another matrix From: Steve Date: 21 Jun, 2011 14:43:06 Message: 1 of 5 
Right now I am attempting to optimize my code as much as possible. I'm trying to optimize the code that does a./T. Is there any way to get the same results while only using the upper triangular portion of T or will that not help get speed gains? Also in order to deal with the NaN's on the resulting diagonal, after I divide I just set everything on the diagonal of the new matrix to 0. 
Subject: Using only upper triangular part of matrix to divide another matrix From: Sean de Date: 21 Jun, 2011 17:41:04 Message: 2 of 5 
"Steve" wrote in message <itqalq$6og$1@newscl01ah.mathworks.com>... 
Subject: Using only upper triangular part of matrix to divide another matrix From: Greg Heath Date: 21 Jun, 2011 21:55:43 Message: 3 of 5 
On Jun 21, 10:43 am, "Steve " <vipquality...@gmail.com> wrote: 
Subject: Using only upper triangular part of matrix to divide another matrix From: James Tursa Date: 22 Jun, 2011 00:33:20 Message: 4 of 5 
"Steve" wrote in message <itqalq$6og$1@newscl01ah.mathworks.com>... 
Subject: Using only upper triangular part of matrix to divide another matrix From: Steve Date: 24 Jun, 2011 15:38:04 Message: 5 of 5 
"James Tursa" wrote in message <itrd8g$k4q$1@newscl01ah.mathworks.com>... 
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.