Is it possible to perform integration from zero to inf in Matlab?
33 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Sergey Dukman
le 29 Sep 2015
Commenté : Sergey Dukman
le 29 Sep 2015
Hello, I have two data vectors and would like to integrate their product from zero to infinity. Is it even possible and how?
Regards, Sergey
2 commentaires
Steven Lord
le 29 Sep 2015
That's an impressive machine that has enough memory to store an infinitely long vector. Can you clarify exactly what you have? Vectors, functions, etc?
Réponse acceptée
Walter Roberson
le 29 Sep 2015
If you had two functions you could create another function that was the multiple of the others and then integrate that:
h = @(x) f(x) .* g(x)
integral(h, 0, inf)
But if you have data vectors then they must be finite vectors and it would not seem to make sense to integrate a finite vector to infinity. Please expand on your meaning about the vectors?
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Wind Power 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!