Plotting a function containing a single integral with two variables
4 次查看(过去 30 天)
显示 更早的评论
URGENT HELP, PLEASE! Could you please help me to plot the function in the figure attached ? It contains two variables in the integral but one of them (y) is held constant but still I want to plot the final function f(a,y) with respect to a (the upper limit of the integral) and y!
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/967215/16502066256583045278268308273187.jpg)
0 个评论
回答(2 个)
Torsten
2022-4-17
Use the integral expression obtained here
for the x-integral, insert the limits and solve the resulting equation in y using "fzero" or "fsolve".
Abdallah Qaswal
2022-4-17
3 个评论
Torsten
2022-4-17
编辑:Torsten
2022-4-17
I gave you the antiderivative of f with respect to x in the link. You only have to give the appropriate values to a, b and c.
But with this exponent, you won't have a chance to reasonably evaluate fun1 although you will be able to write down q as a function of a and y explicitly .
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Line Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!