Quantcast
Channel: Turn vector equation into matrix multiplication - Mathematica Stack Exchange
Browsing latest articles
Browse All 2 View Live

Answer by Carl Woll for Turn vector equation into matrix multiplication

You could use CoefficientArrays. For example:m = CoefficientArrays[ { Ay[i]-Ay[i+1], -Ax[i]+Ax[i+1]-a Az[i], b Ay[i] }, {Ax[i],Ay[i],Az[i],Ax[i+1],Ay[i+1],Az[i+1]}][[2]];m //Normal...

View Article


Turn vector equation into matrix multiplication

I have physical equations of motion that describe the dependence of one vector field on the components of another vector field. Without getting too much into detail, my differential equations involve a...

View Article

Browsing latest articles
Browse All 2 View Live