t=linespace(0:0.02:2001)
t=(0:dt:T)
B data has 2002 points
How to solve this equation in matlab, .

 採用された回答

Torsten
Torsten 2019 年 8 月 13 日

1 投票

T = ...;
dt = T/(numel(B)-1);
t = linspace(dt,T-dt,numel(B)-1);
dB = diff(B);
value = trapz(t,dB.^2)

1 件のコメント

Hein zaw
Hein zaw 2019 年 8 月 15 日
Hello, sorry for late reply. It's work. thanks

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeProgramming についてさらに検索

タグ

質問済み:

2019 年 8 月 13 日

コメント済み:

2019 年 8 月 15 日

Community Treasure Hunt

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

Start Hunting!

Translated by