Speed of Symbolic Integration

3 views (last 30 days)
Christopher Kube
Christopher Kube on 16 Oct 2013
Commented: Christopher Kube on 31 Oct 2013
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.
  3 Comments
Christopher Kube
Christopher Kube on 16 Oct 2013
Yes, all variables are real.
Christopher Kube
Christopher Kube on 31 Oct 2013
Does anyone have any suggestions? I am currently using Matlab2013b.

Sign in to comment.

Answers (0)

Categories

Find more on Programming 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!