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 Exchange에서 Programming에 대해 자세히 알아보기

태그

질문:

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