how to integrate this function?
1 次查看(过去 30 天)
显示 更早的评论
采纳的回答
Torsten
2019-8-13
T = ...;
dt = T/(numel(B)-1);
t = linspace(dt,T-dt,numel(B)-1);
dB = diff(B);
value = trapz(t,dB.^2)
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!