필터 지우기
필터 지우기

how do i use BVP4C for these kind of coupled odes?

조회 수: 1 (최근 30일)
Sattik Basu
Sattik Basu 2018년 6월 26일
편집: Torsten 2018년 6월 27일
The equations are coupled
C1 p(x) + C2 dp(x)/dx + C3 u(x) + C4 du(x)/dx = 0
C5 p(x) + C6 dp(x)/dx + C7 u(x) + C8 du(x)/dx = 0
I want to give two boundary conditions, one at each end. (thus cannot use ode45).
I have seen how bvp4c works with higher order odes with boundary value problems. the difficulty here is that the first order coupled equations both contain the first derivatives of each terms. Any help is appreciated. Thanks

채택된 답변

Torsten
Torsten 2018년 6월 27일
편집: Torsten 2018년 6월 27일
Can you solve
C2*a + C4*b = -C1*p(x) - C3*u(x)
C6*a + C8*b = -C5*p(x) - C7*u(x)
for a and b ?
If this is the case, then
a = dp(x)/dx , b = du(x)/dx.
Best wishes
Torsten.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Boundary Value Problems에 대해 자세히 알아보기

제품


릴리스

R2018a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by