How to invert a 72x72 symbolic matrix?
6 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hi,
Let's say I have a matrix A which have the size 72x72 and contatins only symbolic expressions. I want to solve the problem Ax=b, where b is a 72x1 vector with symbolic expressions. Is there some other way solve this problem than x = inv(A)*b or x=A\b, since these two types of solutions will take forever because of the symbolic matrix A?
Regards Hassan
0 commentaires
Réponses (1)
Wayne King
le 24 Déc 2013
Modifié(e) : Wayne King
le 24 Déc 2013
What is the performance of linsolve() for symbolic expressions? I haven't tried it for such a big matrix, but have you tried that?
syms a x y z;
A = [cos(a) 0 sin(a); 0 1 0; -sin(a) 0 cos(a)];
b = [x; y; z];
[X,R] = linsolve(A,b)
Voir également
Catégories
En savoir plus sur Symbolic Math Toolbox dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!