Im trying to do the following integration per period of a periodic fluid flow
T= Integral of cy2 per period
cy2 is a 100000x1 matrix
the period is calculated to a be 1 divided by variable max_f
Ive tried trapz(cy2) but all that gives is the integration for the entire matrix

댓글 수: 1

Walter Roberson
Walter Roberson 2015년 9월 21일
For any one period, with a particular cy2 matrix, what would you like the integral to look like?
I wonder if you are looking for something like the VectorValued of integrate() ?

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

도움말 센터File Exchange에서 General Applications에 대해 자세히 알아보기

질문:

2015년 9월 21일

댓글:

2015년 9월 21일

Community Treasure Hunt

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

Start Hunting!

Translated by