Can any interpretation be advised for the error message: Unable to define a matrix over 'Dom::ExpressionField()'.
4 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Dear colleagues,
I have prepared m-file to find out the roots of a pair of multivariable equations, each equation is formed by two variables (n1 & n2) and consists of more than 100 terms and the maximum order of each equation is 11. After a long investigation, the methodology to find these roots is confirmed to be numeric analysis employing Newton Raphson technique. I‘ve written the m-file in Matlab implementing Newton Raphson technique through loops of “FOR”. Part of the m-file is attached. I can say that 60% of the loops' iterations have been executed before I got the error message. The program run for approximately 24 hours before it stopped with the following error message:
Error using symengine
Unable to define a matrix over 'Dom::ExpressionField()'.
Error in sym/subsref (line 843)
B = mupadmex('symobj::subsref',L.s,privformat(R_tilde));
Error in Code_v06 (line 315)
if (0<ERR(1,1))&&(ERR(1,1)<1e15)&&(0<ERR(2,1))&&(ERR(2,1)<1e-15)
Can anybody help me in interpreting the error and advise the solution? I am going to run the m- file several times corresponding to new parameters values? Can any solution be advised for such error?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/167491/image.jpeg)
1 commentaire
Walter Roberson
le 24 Sep 2017
Maybe it is related to:
"matrix cannot handle arrays that have uninitialized entries, and responds with an error message:
matrix(b)
Error: Unable to define a matrix over 'Dom::ExpressionField()'. [(Dom::Matrix(Dom::ExpressionField()))::new]"
Or perhaps you ran out of memory.
It is much easier for us to test if you post code instead of an image of code.
Réponses (0)
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!