How do i implement integral type boundary conditions in matlab?

How do i implement integral type boundary conditions in matlab such as in BVP4C or any other method?
I have: u(-1)=0; u(1)=0 and .

Risposte (1)

Hi Nidhi,
I understand that you want to implement integral type boundary conditions in MATLAB.
To achieve this, define the integral as an additional part of the ODE and add a boundary condition associated with it.
For example, if you want to implement the condition ,then adding an additional equation
to the system of ODE's and an additional boundary condition would enforce the integral condition.
Please refer to the below mentioned link for further clarification:
I hope you find this helpful.
Best Regards,
Lokesh.

Tag

Richiesto:

il 1 Feb 2022

Risposto:

il 6 Ott 2023

Community Treasure Hunt

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

Start Hunting!

Translated by