How do I write the MATLAB code to calculate this integrand matrix?
1 次查看(过去 30 天)
显示 更早的评论
Given this .mat file how do I write the MATLAB code to calculate this integrand matrix for every Y value in the given file?
c in the intergal is referred to as "chord" in the given data set.
Cp0, Cp, and Y are all 15 x 101 double and are also given in the data set.
0 个评论
回答(1 个)
Gokul Nath S J
2023-5-26
Hi Olivia,
It seems that you would like to compute the intergration over a matrix. You can use trapz or cumtrapz to find the integral over the 2 dimension.
For more information, kindly go through the following link.
with regards,
Gokul Nath S J
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!