How to solve a system of ODE involving symbolic matrices?
조회 수: 1 (최근 30일)
이전 댓글 표시
I am trying to solve a second order diff equation and decomposed it into two first order ode
Equations involving 2 variables x(t) and v(t):
Dx = v ;
Dv = (-I/A) - (C/A)*x + F/A',
Initial Conditions:
x(0)=0
v(0)=0
A and C are known constants F is a sinusoidal function of time and can be evaluated for all times in the timespan. The difficulty arises because of 'I' being a convolution integral containing unknowns 'v' at every time and is evaluated in form I = const*v(1)+const2*v(2)+....constt*v(t) I is of size symbolic 1x1 containing unknown variable v(1),...v(t) How do I use Matlab to solve the ODE with this symbolic I?
I may have to march forward in time using initial conditions finding x,v at every instant of time and using that as the input for the next instant. How do I do this in MATLAB.
I will be very grateful to help in this direction.
댓글 수: 0
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Symbolic Math Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!