How to solve symbolic problem for two equal matrices?
Mostrar comentarios más antiguos
There's a rank-4 tensor C written in Mandel-Kelvin notation as 6by6 matrix. Assume it's orthotropic. After I rotate it, C2 = R*C*R', where R is provided in this form: https://scicomp.stackexchange.com/questions/35600/4th-order-tensor-rotation-sources-to-refer#:~:text=In%20this%20case%2C%20you%20can%20rotate%20stiffness%20and%20compliance%20tensors%20with . I want to equate C2 and C using symbolic variables as C11, C22,... But when I use: S = solve(C2 == C), matlab return all Cij = 0. That's not right. Any one can help me with that? I'm quite confused. Thanks in advance.
5 comentarios
Sam Chak
el 28 de Abr. de 2022
Can you share your fully MATLAB code here that results in MATLAB returns all
?
?
Torsten
el 28 de Abr. de 2022
But when I use: S = solve(C2 == C), matlab return all Cij = 0. That's not right.
Why do you think it's not right ?
Steven Lord
el 28 de Abr. de 2022
C being the 0 matrix, if C2 is also the 0 matrix, is one solution to the problem. It may not be the one you expected, but it is valid.
As a simpler example, if I told you "I'm thinking of two numbers. Their average is 3. What are the numbers?" one solution is 3 and 3. Another solution is 6 and 0. Those may not be the solutions you had in mind, but they are both valid.
yunya liu
el 28 de Abr. de 2022
yunya liu
el 28 de Abr. de 2022
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Linear Algebra en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!