How to factor a matrix by a list of symbolic variables
Show older comments
My problem is the following:
I have a 3x1 matrix of symbolic equations (let's call it Y) that I want to divide into two matrixes that we will call Phi and Theta. Phi will be a 3xn wide matrix, and Theta will be a nx1 column matrix. I have a list of variables that will be in the nx1 matrix, the rest will be in the Phi matrix, where Y = Phi*Theta.
Is there a way to factorize and build the matrixes programatically with the Symbolic Math Toolbox?
Thanks!
1 Comment
Aleja Campo
on 5 Dec 2020
Hi
Yes I had the same problem, you can use the equationsToMatrix function
Best
Accepted Answer
More Answers (0)
Categories
Find more on Linear Algebra in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!