Evaluating with quad error
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
I can't seem to get my function to work! I'm getting a not enough inputs error.
function f=f6(r)
f=r.*(1.-(r/.5)).^(1/8);
0 Commenti
Risposte (1)
Star Strider
il 18 Apr 2014
You need to post your code with quad to find out why it doesn’t work.
This works:
f6 = @(r) r.*(1.-(r/.5)).^(1/8);
f6i = quadl(f6, 0, 1)
yields:
f6i =
418.5726e-003 +130.0622e-003i
0 Commenti
Vedere anche
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!