How to integrate a matrix of a certain dimension?!
조회 수: 1 (최근 30일)
이전 댓글 표시
Suppose I have a temperature matrix, T = zeros(Nz+1,Nt+1). Nz are number of elements in the z-axis and Nt are number of elements in the time-axis.
What command should I use for calculating the following integral?
E = integral of [A*T(z,:)*exp(-B*z)] with limits z = 0 to L.
Here, the temperature inside the integral is a function of the position z at a certain time.
Any kind of help will be appreciated. Thanks.
댓글 수: 6
답변 (1개)
Muruganandham Subramanian
2012년 12월 19일
편집: Muruganandham Subramanian
2012년 12월 19일
>> help syms
>>help int
Refer this link:
or If you have R2012b version, refer this
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!