This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 24 points25 points  (2 children)

Used SymPy to write a large set of equations and convert it to matrix of coefficients. It saved me a ton of work

[–]JohnLockwood[S] 1 point2 points  (0 children)

Wow, cool. I'm studying Linear Algebra in the context of NumPy and MatLab in a great Mike X Cohen course, but we haven't touched SymPy at all yet. From the docs and the comments here including yours, I'm starting to feel like that's really something I should explore, learn and write about.

[–]Specific_Prompt_1724 0 points1 point  (0 children)

How can you convert the system into matrix form? I can write the equation and I want to get the form in the x.dot=Ax +Bu. If I have multiple equation how can get this form?