Speed of Symbolic Integration
1 次查看(过去 30 天)
显示 更早的评论
Hi, I have a long expression composed of sines and cosines of three variables. The expression needs to be volume averaged using a symbolic triple integral. I need to use symbolic in order to get exact solutions.
I've attached an example expression needed to be integrated. All variables are symbolic.
I need to perform the volume integral of this expression. Ordinarily, I assign this symbolic expression to variable II and operate successive "int" commands...
int(int(int(II.*sin(THETA),THETA,0,pi),PHI,0,2*pi),ZETA,0,2*pi)
This procedure takes more than 20 hours to run on my computer. I am using 32 GB memory with an 8-core i7 processor. The CPU utilization is around 20% at 3.27 GHz.
Perhaps there is away to partition the sum? Any other suggestions would be appreciated.
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Assumptions 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!