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