How can I integrate select parts of a vector, with a constant step size?
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
If I have a vector, say, v = [1:1:20], and I want the first term of the cumtrapz(v) to work on [v(1) v(11)], the second term to work on [v(2) v(12)], third on [v(3) v(13)],... e.t.c. For this example, the cumtrapz result would have a maximum of 10 terms.
How can I go about this, please?
0 Kommentare
Antworten (0)
Siehe auch
Kategorien
Mehr zu Numerical Integration and Differentiation finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!