Excessive Run Time For back solve of 'huge' symbolic matrices.
Show older comments
I am calculating a left matrix division A\b on MatLab 2009b and it has taken more than a week now. I admit that the matrix A is huge and it contains some symbols. Is there any way to speed up this calculation, or will I ever get some results? Thanks a lot!
10 Comments
Oleg Komarov
on 12 Sep 2011
Quantify huge and by symbols you mean symbolic variables?
Walter Roberson
on 12 Sep 2011
Does mldivide even work with symbolic arrays??
Jan
on 12 Sep 2011
@Walter: J wrote, that it runs since a week now. This seems to imply, that it runs at all. But who knows...
Sean de Wolski
on 12 Sep 2011
@Walter, it appears to:
syms a c
a\c
ans =
c/a
Walter Roberson
on 12 Sep 2011
Let's see... shouldn't it be c' / a' ? c/a would be the equivalent answer if one assumed scalars, but the question was about arrays. (I would have to have a closer look at the definitions to determine whether the transpose should be plain transpose or conjugate transpose.)
Doug Hull
on 13 Sep 2011
Does the same code work for normal sized matrices, say 10x10?
What is huge?
J
on 13 Sep 2011
J
on 13 Sep 2011
Andrew Newell
on 14 Sep 2011
The calculation takes about a second on my computer, which is pretty slow for a 2x2 problem!
J
on 14 Sep 2011
Accepted Answer
More Answers (0)
Categories
Find more on Common Operations in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!