Community Profile

Cesar


University of Texas at El Paso

15 total contributions since 2009

Contact

Contributions in
View by

Responded


Re: Parallel Computing (kind-of)
Thanks for the feedback. I will try to move the parfor loop to the outside and see if performance improves.

5 years ago | 1250 views

Responded


Re: Parallel Computing (kind-of)
Thanks for the feedback Steve. In my case, the remaining serial code is not dependent on the results from the other workers. Doe...

5 years ago | 1250 views

Responded


Re: Parallel Computing (kind-of)
Let me shorten the code to better explain my question: for j=1:npanels end

5 years ago | 1250 views

Posted


Parallel Computing (kind-of)
I did not know what would be the best subject to use, but here is my question. I currently have the section of code shown below...

5 years ago | 1250 views

Responded


Re: sparse out of memory error
Matt, I ran the FEM program with my current code on a smaller model that causes no memory problems and it took 5secs to do the s...

6 years ago | 3832 views

Responded


Re: sparse out of memory error
Oleg, I am generating a sparse matrix of dimensions 23976*23976. The number of non-zero elements will be 7992*7992. I know that ...

6 years ago | 3832 views

Responded


Re: sparse out of memory error
Just as an example, this is what I am trying to do: A = cols = cols = A = And my question, why waste memory with repma...

6 years ago | 3832 views

Responded


Re: sparse out of memory error
Matt, thanks for your reply. In your sample code, the result is a diagonal sparse matrix containing the four random numbers. I...

6 years ago | 3832 views

Posted


sparse out of memory error
I am writing a finite element program for the modeling of slabs on elastic foundations. One of the foundation models actually p...

6 years ago | 3832 views

Responded


Re: Alternative to inv function
Thanks Mira, Your solution worked perfectly. I just had to tweak it a little bit because of the way boundary conditions are appl...

7 years ago | 3029 views

Posted


Alternative to inv function
I am writing a Finite Element program that needs to solve the typical [K]{f}={d} system. Of course I know that we SHOULD NOT us...

7 years ago | 3029 views

Responded


Re: Zeroing columns in sparse matrix is slow
Bruno, Your solution worked perfectly. Now that section of the code only takes 0.5 seconds instead of the 18. Thanks

7 years ago | 3453 views

Responded


Re: Zeroing columns in sparse matrix is slow
I tried using setsparse but had the following problem: ConstDof is actually a vector (37,000 elements) and so I am trying to zer...

7 years ago | 3453 views

Posted


Zeroing columns in sparse matrix is slow
I am developing a Finite Element Program using sparse matrices in Matlab 7.4 (2007a) The size of the global stiffness matrix (GK...

7 years ago | 1372 views

Posted


Zeroing columns in sparse matrix is slow
I am developing a Finite Element Program using sparse matrices in Matlab 7.4 (2007a) The size of the global stiffness matrix (GK...

7 years ago | 3453 views