Integration of two vector fields at different intervals
Info
This question is closed. Reopen it to edit or answer.
Show older comments
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 Comment
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.
Answers (0)
This question is closed.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!