convert matlab code to parallel mode

1 view (last 30 days)
ARMIN M
ARMIN M on 31 Jul 2019
Edited: ARMIN M on 2 Aug 2019
hello. i wrote the matlab code , that contain 14 syms and the matrix that made from this syms , 1. i want to inverse this matrix 2. simplify formule that made from adding first row arrays of inverse matrix. but after long time run it shows this error. "error in mupad command . out of memory". i want to convert this code to parallel to run it faster(i can do it in system that have higher ram to avoid that error), does everybody knows that it is possible to do this? and "where can i search for method?" the simple form of this codes are like this:
CLOSE ALL
CLC
SYMS H1 LH2 M2
A(1,1)=1-H1-LH2
A(1,2)=H1
A(2,2)=1-m2
A(2,2)=m2
A(3,3)=1-m2-h1
A(3,2)=m2
A(3,:)=[]
A(:,3)=[]
B=eye(2)
C=B-A
D=inv(C)
E=sum(D,2)
F=E(1)
G=simplify(F)
thank u.

Answers (0)

Community Treasure Hunt

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

Start Hunting!