Evaluation of Integration without Loops
6 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Ahmad Gad
le 13 Jan 2021
Réponse apportée : Ahmad Gad
le 9 Fév 2021
Hello all.
I have a mathematical expression takes the following form,
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/487378/image.png)
where C is known scalar, and
or
is known vector. The question here is, Does MATLAB have some functions to evaluate this integral function without using loops (I have the solution with for loop)?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/487383/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/487388/image.png)
I am trying to look for the minimum time the PC takes to evaluate the function
becasue I am optimizing the scalar C against some objective function. For example, does conv() can help here by anyhow?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/487393/image.png)
Thanks a lot,
Ahmad
0 commentaires
Réponse acceptée
Plus de réponses (1)
Voir également
Catégories
En savoir plus sur Numerical Integration and Differentiation dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!