How to take integral with for loop?
5 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Arya Akhtar
am 24 Mai 2021
Kommentiert: Arya Akhtar
am 25 Mai 2021
Hello,
I would like to integrate my function with for loop.
for l = 1: length(x)-1
final(l) = (upper(i+1)-upper(i)).*(w(2)-w(1)) ;
end
where x is my function and l is my time. i cannot have desired output. how can i do that?
0 Kommentare
Akzeptierte Antwort
Weitere 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!