From: Anna Lappala on 6 Mar 2010 10:20 "Jan Simon" <matlab.THIS_YEAR(a)nMINUSsimon.de> wrote in message <hms6ou$jjh$1(a)fred.mathworks.com>... > Dear Anna! > > > I have a problem associated with the size of my matrix, which needs to be in 3D for 12000 given coordinates.. when i try to run my code, I get an error saying "Maximum variable size allowed by the program is exceeded." What can I do? > > Please post the size of the array exactly. A [12000 x 3] is a 3D array, or do you mean [12000 x 12000 x 12000] ? > > Kind regards, Jan Dear Jan, Thank you for your comment. The matrix is a 12000 by 3, so it is a basic 3d array which reflects the positions of every atom in a protein crystal. Thank You!
From: Anna Lappala on 6 Mar 2010 10:20 "Jan Simon" <matlab.THIS_YEAR(a)nMINUSsimon.de> wrote in message <hms6ou$jjh$1(a)fred.mathworks.com>... > Dear Anna! > > > I have a problem associated with the size of my matrix, which needs to be in 3D for 12000 given coordinates.. when i try to run my code, I get an error saying "Maximum variable size allowed by the program is exceeded." What can I do? > > Please post the size of the array exactly. A [12000 x 3] is a 3D array, or do you mean [12000 x 12000 x 12000] ? > > Kind regards, Jan Dear Jan, Thank you for your comment. The matrix is a 12000 by 3, so it is a basic 3d array which reflects the positions of every atom in a protein crystal. Thank You!
From: Anna Lappala on 6 Mar 2010 10:30 Walter Roberson <roberson(a)hushmail.com> wrote in message <hmso2f$21n$3(a)canopus.cc.umanitoba.ca>... > Anna Lappala wrote: > > > I have a problem associated with the size of my matrix, which needs to > > be in 3D for 12000 given coordinates.. when i try to run my code, I get > > an error saying "Maximum variable size allowed by the program is > > exceeded." What can I do? > > I wonder if it would happen that a sparse matrix would be appropriate > for your situation? Thank you for your suggestion! I have thought about this, but the problem is that the datapoints in this 12000 by 3 matrix are actual data values which I have to use for further analysis in 3D so i am not sure if a sparse matrix is appropriate? Thank you, Anna
From: Jan Simon on 6 Mar 2010 11:20 Dear Anna! > I have a problem associated with the size of my matrix, which needs to be in 3D for 12000 given coordinates.. when i try to run my code, I get an error saying "Maximum variable size allowed by the program is exceeded." What can I do? A [12000 x 3] array is no problem in Matlab! Please post the line, which causes the error. BTW: Your array has 2 dimensions and is called a 2D array or matrix. It just contains 3D coordinates. Kind regards, Jan
From: Matt J on 6 Mar 2010 11:24 "Anna Lappala" <s0793217(a)sms.ed.ac.uk> wrote in message <hmtrro$em3$1(a)fred.mathworks.com>... > > Thank you for your comment. The matrix is a 12000 by 3, so it is a basic 3d array which reflects the positions of every atom in a protein crystal. ============= We'll need to see copy/pastes of code and error messages. There's no way a 12000x3 matrix would be considered too big.
First
|
Prev
|
Next
|
Last
Pages: 1 2 3 Prev: Getting rid of this for loop Next: How do you read time data from xls files? |