MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi
Learn moreOpportunities for recent engineering grads.
Apply TodayNew to MATLAB?
MATLAB Central > MATLAB Newsreader > Reducing memory requirements for tiled matrices 

Subject: Reducing memory requirements for tiled matrices From: Harry Commin Date: 13 Nov, 2012 21:32:18 Message: 1 of 6 
I need to perform elementbyelement multiplication between two "tiled" matrices (i.e. where relatively few unique values are repeated in a structured, tiled manner). However, these matrices (formed by a double Kronecker product) are large and I only have enough memory to process one of them at a time. 
Subject: Reducing memory requirements for tiled matrices From: Roger Stafford Date: 14 Nov, 2012 01:19:12 Message: 2 of 6 
"Harry Commin" wrote in message <k7ue91$mh1$1@newscl01ah.mathworks.com>... 
Subject: Reducing memory requirements for tiled matrices From: Roger Stafford Date: 14 Nov, 2012 07:49:22 Message: 3 of 6 
"Roger Stafford" wrote in message <k7urig$875$1@newscl01ah.mathworks.com>... 
Subject: Reducing memory requirements for tiled matrices From: Harry Commin Date: 14 Nov, 2012 11:58:14 Message: 4 of 6 
> The following code uses the forloop method I mentioned earlier ... it will save you memory space, but at the cost of slower execution than with the use of the 'kron' function. 
Subject: Reducing memory requirements for tiled matrices From: Steven_Lord Date: 14 Nov, 2012 14:53:51 Message: 5 of 6 

Subject: Reducing memory requirements for tiled matrices From: Roger Stafford Date: 14 Nov, 2012 16:27:16 Message: 6 of 6 
"Harry Commin" wrote in message <k8010m$98f$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.