Functions handle (product of functions)

10 views (last 30 days)
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
Marcus Vinicius Pereira de Souza
Thanks a lot!! Best wishes, Marcus Vinicius

Sign in to comment.

Accepted Answer

Youssef  Khmou
Youssef Khmou on 20 Mar 2013
why dont you use one single function handle :
>>G=@(fi) 2*sqrt(5/8)*atan(sqrt(45).*fi)*10.*(fi.^2) % This is X*H

More Answers (0)

Community Treasure Hunt

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

Start Hunting!