How Can the Output of odetovectorfield be Used
17 views (last 30 days)
Other than sending to matlabFunction(), how can one use the output of odetovectorfield?
eqn = diff(x(t),t,2) + diff(x(t),t) + x == 0;
V = odeToVectorField(eqn);
- Y - Y
What are these things with sqaure brackets and how can I do anything with V? For example, suppose I want express V as A*Y
[A,b] = equationsToMatrix(V==0)
What is that result? Is there a way to sub Y1 and Y2 for Y and Y?
Abhishek Kolla on 5 Jan 2022
The elements of V represent the system of first order differential equations. You can refer to this link for more information on the relation between output and input.