problem with function handle
Afficher commentaires plus anciens
alpha
alpha =
function_handle with value:
@(z)(z-b)/a
>> qa
qa =
function_handle with value:
@(z)sqrt((1./alpha.^2)-p.^2)
>> t = integral(qa,0,3)
Undefined operator '.^' for input arguments of type 'function_handle'.
Error in @(z)sqrt((1./alpha.^2)-p.^2)
Error in integralCalc/iterateScalarValued (line 314)
fx = FUN(t);
Error in integralCalc/vadapt (line 132)
[q,errbnd] = iterateScalarValued(u,tinterval,pathlen);
Error in integralCalc (line 75)
[q,errbnd] = vadapt(@AtoBInvTransform,interval);
Error in integral (line 88)
Q = integralCalc(fun,a,b,opstruct);
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Calculus dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!