parallel computing in matlab

조회 수: 3 (최근 30일)
mahmud man
mahmud man 2016년 2월 6일
편집: Walter Roberson 2016년 2월 7일
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