Integral equation with independent variable to be solved
Afficher commentaires plus anciens
Hi,
I have the following function of x and y.

Clearly x is the integration variable and "y" should be defined as a variable to be solved (not directly in this equation).
Does anybody know how can I define f so as to solve for y further.
Any help would be appreciated, Farid
Réponses (1)
Torsten
le 15 Mai 2017
As written,
y = f / integral_{x=x1}^{x=x2} [x*erfc((x-a)/sqrt(t))] dx
Best wishes
Torsten.
3 commentaires
Mohammadfarid ghasemi
le 15 Mai 2017
Thank you for your response. However, I am afraid it is not what I meant. My question is not about finding "y" but defining f as a function of y (f(y)). Actually I don't know how to define definite integration with respect to "x" and obtain f(y).
Torsten
le 15 Mai 2017
f = @(y)integral(@(x)x*(A+y-A).*erfc((x-a)/sqrt(t)),x1,x2)
Best wishes
Torsten.
Mohammadfarid ghasemi
le 15 Mai 2017
Thank you so much, works.
Catégories
En savoir plus sur Loops and Conditional Statements dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!