I am looking for a package to use in Latex by which I can include a m-file in my latex document while keeping the same layout is in my m-file.
I hope someone can help me with it.
Regards,
Hans
In Matlab I have defined follow matrix
R=[0, -k2-b2, k2+b2+m2, -1; -k1-b1, k1+k2+b1+b2+m1, -k2-b2, 1]
How can I ascribe values to the variables k1 k2 b1 b2 m1 and m2 and update the matrix R?
greatings,
Hans