I have two scripts. In first one i will get A and B matrices which are interms of theta as shown below.
B = tan(2*theta).*[8 5 1;
I want to use these A and B matrices in another script, which is given below
function dydt = scriptname(t, y)
Finally i will plot these ODE's in another script that i didnt gave here.
My main doubt is how to extract A and B matrices(especially those are variable matrices) into another script.
After extracting these A and B matrices i will substitute y(3) so that i can get rid of theta.
I havent shown my exact problem because its too complicated. Focus on my main doubt dont care about values.
Thanks in advance.