parallel computing in matlab

3 visualizzazioni (ultimi 30 giorni)
mahmud man
mahmud man il 6 Feb 2016
hello everbody i have a script in matlab .the purpose of my code is to determine the determinnet of a symbolic matrix of unknown variable'N'and then solve it to find 'N'.i want to know can any body help me about this code?i want to know 1-is there any way to use parallel computing in my code? 2-is there any way to reduce run time?because my run last a long time and most of the time my laptop RAM become full and the determinent cannot be found. i attached my code to examine and see if you can help thanks
  1 Commento
Walter Roberson
Walter Roberson il 6 Feb 2016
Please indicate some typical inputs so that other people can test it.

Accedi per commentare.

Risposte (1)

John D'Errico
John D'Errico il 7 Feb 2016
He has asked this already, in fact, just a few days ago. Asking the same question multiple times won't get a better answer.
And wanting to reduce run time is easy to fix. Just solve smaller problems.
No, parallel computing is already enabled as well as it can be, although you will often get faster run times if you buy a faster computer, with extra cores, since many routines in MATLAB already make use of extra cores when that is reasonable to do. Admittedly, symbolic computations will surely see very little gain here.
The very fact that your problem is NOT CPU bound but memory constrained should tell you the issue, which was explained the LAST time you asked this same question. Computing the determinant of a large symbolic matrix will create IMMENSE symbolic forms.
I'm sorry, but this is simply not a problem you can solve using symbolic tools. Just wanting to solve a large problem is not sufficient, and it is trivial to create problems too large to solve, as you have found. There is no magic solution.
  1 Commento
Walter Roberson
Walter Roberson il 7 Feb 2016
Modificato: Walter Roberson il 7 Feb 2016
The poster does not appear to have presented this code before, at least not under this name. The poster named "Max" has been asking about symbolic inverses of a 3 x 3 system but with quite different code. Before that, the poster "meysam esmaeeli" was looking for the characteristic polynomial of a 48 x 48

Accedi per commentare.

Categorie

Scopri di più su Symbolic Math Toolbox in Help Center e File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by