Integral of my area
1 回表示 (過去 30 日間)
古いコメントを表示
Hi, I have values in the matrix, I know where they are exactly located, how can I integrate the range of these values?
ErT1{i}=trapz(VVV{i}) ; % VV- array of cells {20 30 31 40}
%they are in the area from 550 to 554
How can I integrate them?
0 件のコメント
採用された回答
darova
2019 年 6 月 27 日
Is it correct?
for i = [20 30 31 40]
t = VVV{i};
ErT1{i} = trapz(t(550:554));
end
% ErT1{i}=trapz(VVV{i}) ; % VV- array of cells {20 30 31 40}
% they are in the area from 550 to 554
0 件のコメント
その他の回答 (0 件)
参考
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!