Integral equation with independent variable to be solved
Ältere Kommentare anzeigen
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
Antworten (1)
Torsten
am 15 Mai 2017
As written,
y = f / integral_{x=x1}^{x=x2} [x*erfc((x-a)/sqrt(t))] dx
Best wishes
Torsten.
3 Kommentare
Mohammadfarid ghasemi
am 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
am 15 Mai 2017
f = @(y)integral(@(x)x*(A+y-A).*erfc((x-a)/sqrt(t)),x1,x2)
Best wishes
Torsten.
Mohammadfarid ghasemi
am 15 Mai 2017
Thank you so much, works.
Kategorien
Mehr zu Loops and Conditional Statements finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!