how to assemble a symbolic matrix?
Show older comments
Hi, so I have to assemble a stiffness matrix with symbolic variables. If I give the variables numbers, the code works but if I try to let it run with the symbolic variables it says sym not convertable to double. Can anyone think of a solution?
Ke is a 10x10 matrix and is assembled by multiple 6x6 matrices so I first set Ke as a matrix of zeros, and then let it be assembled via a loop
3 Comments
Nikhil
on 6 Jun 2023
Hi Clara,
Can you please share the code which you are implementing?
Matt J
on 6 Jun 2023
Why would you be using symbolic variables? A stiffness matrix is something used in numerical methods for partial differential equations.
Clara Sophie
on 6 Jun 2023
Answers (0)
Categories
Find more on Loops and Conditional Statements 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!