Register to reply 
Integration in matlab 
Share this thread: 
#1
Feb1213, 10:17 AM

P: 49

Dear users
I want to get a triple integral from "X,y,z" in matlab like this: triplequad(f,0,1,0,1,0,1) but because my "f" is very very complicated function of x,y,z , it can not do it, so I want to convert my integral to a summation and istead of my integral limits I want to make sum in a way that each of x,y,z vary from 0 to 1 by steps of 0.01 So would you mind tell me what should I write in matlab? thanks 


#2
Feb1213, 10:54 AM

P: 2,810

http://www.mathworks.com/help/matlab...riplequad.html
what is your function and what version of MATLAB are you using? 


#3
Feb1213, 01:51 PM

P: 49

thank you but my matlab is 2011
let me explain you that infact why I want to change my triplequad to sigma. (summation) I have a 12*12 symbolic matrix in terms of x,y,z ,I must first find its eigenvalues and when I found 12 terms, I must do some aljebraic operations on them and mix them into one sentence and after that Integrate over that finall sentence in terms x y z but the 12*12 matrix is so complicated and matlab couldnt find the 12 eigenvalues. so I want to put my matrix and all of aljabraic operations in 3 " "for" loops" and during loops I sum that final sentence instead of integrating In this way the 12*12 matrix will be numeric and can find its eigenvalues but I wont have any x , y,z which I must integrate over them instead with those for loops I must the expression and cannot integrate. I hope that yoU understand what I meant thank you 


#4
Feb1213, 04:51 PM

P: 2,810

Integration in matlab
This really sounds like a project that you'll have to research and program yourself into matlab. I looked up matlab limits and it should be able to handle a 12x12 matrix.
http://www.mathworks.com/support/sol...HFZ/index.html Perhaps if you break things up so the matrix isn't so complicated. If this is a project we can only help with hints, we can't do the work for you. By sentence I assume you mean equation, right? Perhaps if you describe your problem in terms of discreet steps instead in paragraph form. Someone will be better able to help. What you've said so far is very generic and hard to figure out what you're trying to accomplish. 


Register to reply 
Related Discussions  
Integration in matlab  Math & Science Software  0  
Integration using matlab  Math & Science Software  2  
Integration matlab  Engineering, Comp Sci, & Technology Homework  2  
Integration in Matlab  Math & Science Software  3  
Using Matlab for integration  Math & Science Software  2 