How to solve symbolic problem for two equal matrices?
Show older comments
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 Comments
Sam Chak
on 28 Apr 2022
Can you share your fully MATLAB code here that results in MATLAB returns all
?
?
Torsten
on 28 Apr 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
on 28 Apr 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
on 28 Apr 2022
yunya liu
on 28 Apr 2022
Accepted Answer
More Answers (0)
Categories
Find more on Linear Algebra 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!