parallel computing in matlab

3 次查看(过去 30 天)
mahmud man
mahmud man 2016-2-6
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 个评论
Walter Roberson
Walter Roberson 2016-2-6
Please indicate some typical inputs so that other people can test it.

请先登录,再进行评论。

回答(1 个)

John D'Errico
John D'Errico 2016-2-7
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 个评论
Walter Roberson
Walter Roberson 2016-2-7
编辑:Walter Roberson 2016-2-7
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

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Symbolic Math Toolbox 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by