Integral equation with independent variable to be solved
Show older comments
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
Answers (1)
Torsten
on 15 May 2017
As written,
y = f / integral_{x=x1}^{x=x2} [x*erfc((x-a)/sqrt(t))] dx
Best wishes
Torsten.
3 Comments
Mohammadfarid ghasemi
on 15 May 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
on 15 May 2017
f = @(y)integral(@(x)x*(A+y-A).*erfc((x-a)/sqrt(t)),x1,x2)
Best wishes
Torsten.
Mohammadfarid ghasemi
on 15 May 2017
Thank you so much, works.
Categories
Find more on Loops and Conditional Statements in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!