Hi All,
I need to model an EOM , representing a 3 DOF point mass with a pendulum, defined by mean of 2 angles, total 5 DOF, of the kind
where λ and τ are the resp. the generalized coordinates and forces, and where μ is the time derivative of λ.
I was starting to model a block with as output with some integrators to calculate the inputs. As additional inputs a set of constant and the generalized forces, that then will be a function of a control feedback. I have already the definition of the 3 matrices, M,C ad G, but I have some issues working with them correctly. I prepared a set of Matlab function blocks with the symbolic definitions of the matrices and the variables that are needed. In particular I receive an error when multiplying the C matrix times μ vector.
Then I need an advice to manage the signals in input and output. I was thinking of using a MUX/DEMUX pair to route the coordinates signal around the blocks, but not really sure of this method.
Thanks for help.
SS