Integration of two vector fields at different intervals

I have two vector fields, each one with 9 scalars. I want to integrate them in a piecwise, like first two values, third and fourth and so on. At the end i am expecting to get 8 values. I have tried intergral and Quad. but i am new to integration in Matlab, do i need a function and if yes how can i generate the function since the values will keep changing for each iteration.

댓글 수: 1

Jan
Jan 2019년 3월 29일
편집: Jan 2019년 3월 29일
Please explain, what "vector fields" are. Do you mean "vectors"? What exactly is "integrate in a piecewise"? What kind of function do you need? Please post the code you have tried and explain the occurring problems, most of all the error messages.
What does "the values will keep changing for each iteration" mean? You did not mention any iterations before.

답변 (0개)

이 질문은 마감되었습니다.

질문:

2019년 3월 29일

마감:

2021년 8월 20일

Community Treasure Hunt

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

Start Hunting!

Translated by