Integral of my area

1 回表示 (過去 30 日間)
Lev Mihailov
Lev Mihailov 2019 年 6 月 27 日
回答済み: darova 2019 年 6 月 27 日
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?

採用された回答

darova
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 件)

カテゴリ

Help Center および File ExchangeProgramming についてさらに検索

タグ

製品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by