Numerical integration using quad function

10 Ansichten (letzte 30 Tage)
Dave Smith
Dave Smith am 9 Apr. 2013
Numerically integrate using the quad function.
10
I(x)= sqrt(x)dx
0
Can anyone help me out with this?

Akzeptierte Antwort

Youssef  Khmou
Youssef Khmou am 9 Apr. 2013
hi , try :
>>F=@(x) sqrt(x);
>>I=quad(F,0,10)

Weitere Antworten (0)

Kategorien

Mehr zu MATLAB finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by