Double integration using experimental data

2 vues (au cours des 30 derniers jours)
Manuel
Manuel le 6 Juin 2015
Modifié(e) : Manuel le 18 Juin 2015
I need to perform a double integration using experimental data, but my integration limits are the same for each integral, in this case the time. After review some old posts I reached to the following code:
T = 0:0.1:600;
x = T;
A = rand(1,length(T)); % my data
pp_int = spline(T,A );
DoubleIntegration = integral(@(x)arrayfun(@(T )(integral(@(T ) ppval(pp_int,T ),0, T )),x),0,T(end) );
The code take so long to run, and give huge values. Someone I can indicate whether I am doing something wrong? If this is the case how I can correct ?
Regards
  4 commentaires
arun
arun le 18 Juin 2015
Could u mathematically explain ur problem. I can suggest u some numerical techniques to solve it.
Manuel
Manuel le 18 Juin 2015
Modifié(e) : Manuel le 18 Juin 2015
Mathematically I need to calculate:

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Mathematics dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by