필터 지우기
필터 지우기

solve a system of integral equations with matlab

조회 수: 8 (최근 30일)
ALBORZ NAJAFI
ALBORZ NAJAFI 2021년 7월 15일
댓글: ALBORZ NAJAFI 2021년 7월 21일
Hi every body
I wrote the attached code to solve the integral equations written in the image.But I have a problem with matlab error
Can anyone help?
function S = Integralsystem(x,va,vb,t,xa)
x=1+int(va,t,0,t)+int(vb,t,0,t)
va=1.2*int((4/x^2-0.5/xa^2),t,0,t)
vb=(4/3)*int((3/x^2+.5/(x+xa)^2),t,0,t)
xa=70-int(va,t,0,t)
s=fsolve

채택된 답변

Torsten
Torsten 2021년 7월 17일
If you differentiate all your equations with respect to t, you get a system of differential equations that can be solved by standard Matlab software (like ode45, ode15s etc.).
  댓글 수: 1
ALBORZ NAJAFI
ALBORZ NAJAFI 2021년 7월 21일
thanks a lot
I solved the problem and wrote the code

댓글을 달려면 로그인하십시오.

추가 답변 (1개)

Jayant Gangwar
Jayant Gangwar 2021년 7월 15일
You need to pass the complete system of non linear equations to fsolve as input argument along with start conditions, just calling fsolve will not process anything. For information on how to pass a system of equations to fsolve please go through it's documentation, I've attached the same below
Also you can take a look at the following ML answer

카테고리

Help CenterFile Exchange에서 Programming에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by