How do I write the MATLAB code to calculate this integrand matrix?

조회 수: 2 (최근 30일)
Olivia Ottomanelli
Olivia Ottomanelli 2022년 11월 16일
답변: Gokul Nath S J 2023년 5월 26일
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.

답변 (1개)

Gokul Nath S J
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

카테고리

Help CenterFile Exchange에서 Numerical Integration and Differentiation에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by