Numerical Integration with symbolic integration limits
古いコメントを表示
Hi all,
I am trying to solve the following expression:
exp1=((L+rho)-sqrt(rho^2-(z-(delta+c)/2)^2))^2;
Vg=2*pi*vpaintegral(exp1,z,delta/2,delta+c)
with delta and c being symbolic variables. rho and L depend directly on c.
The problem is that I would like to prescribe a value for Vg and then get a numerical solution for c which is also a part of my integration limits.
Can somebody help me solve this problem? I assume there is a more intelligent way to get a quick solution for this problem.
Thanks!
回答 (1 件)
Walter Roberson
2020 年 3 月 23 日
You cannot do that. vpaintegral does not support symbolic limits.
You are asking for something like
vpasolve( Vg - 2*pi*vpaintegral(exp1,z,delta/2,delta+c), c)
but you still want delta to be symbolic, so you are looking for c expressed in terms of delta. You cannot get that with numeric techniques. If we had your full formulas then maybe a non-numeric technique could be found.
1 件のコメント
Denis Smaitch
2020 年 3 月 23 日
編集済み: Denis Smaitch
2020 年 3 月 23 日
カテゴリ
ヘルプ センター および File Exchange で Loops and Conditional Statements についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!