11-23-2009, 10:57 AM
[Matlab] Partition Matrix code
partMatrix.m
This MATLAB function was developed for applications of the direct stiffness method for structural analysis which involves partitioning stiffness matrices and load/displacements vectors as well as reconstructing them based on the support conditions of each node of the structure.
The function was written using logical indexing to avoid looping, and as a result the process is much more efficient at partitioning matrices. While this function performs a relatively simple task, it will be useful to those who want to improve the performance of existing FEA code in MATLAB.
EXAMPLE:
Code:
***************************************
Content of this section is hidden, You must be registered and activate your account to see this content. See this link to read how you can remove this limitation:
http://forum.civilea.com/thread-27464.html
***************************************
Code:
***************************************
Content of this section is hidden, You must be registered and activate your account to see this content. See this link to read how you can remove this limitation:
http://forum.civilea.com/thread-27464.html
***************************************