Functions handle (product of functions)
Show older comments
Dear all, I have the following functions:
X=@(fi) 2*sqrt(5/8)*atan(sqrt(45)*fi.); h=@(fi) 10*fi.^2;
However, I need to calculate the follow function:
f=X*h area= quad(f,0,10)
Can anyone help me? Thanks a lot. Marcus Vinicius
2 Comments
Youssef Khmou
on 20 Mar 2013
i am not sure if we can define function based on functions but as alternative solution take a look at the solution below
Marcus Vinicius Pereira de Souza
on 20 Mar 2013
Accepted Answer
More Answers (0)
Categories
Find more on Monte-Carlo in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!