how to integrate this function?

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

 Risposta accettata

Torsten
Torsten il 13 Ago 2019

1 voto

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

Più risposte (0)

Categorie

Scopri di più su Programming in Centro assistenza e File Exchange

Richiesto:

il 13 Ago 2019

Commentato:

il 15 Ago 2019

Community Treasure Hunt

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

Start Hunting!

Translated by