Azzera filtri
Azzera filtri

double integral function error

1 visualizzazione (ultimi 30 giorni)
Blanca Castells
Blanca Castells il 31 Gen 2017
Commentato: Andrei Bobrov il 3 Feb 2017
Hi everybody!
I'm trying to solve this:
fun1 =@(x,y)(-x.^2);
fun2=@(x,y)(y+1).^2;
fun=@(x,y)fun1+fun2;
q = integral2(fun,0,100,0,50);
but it says "Error" in the last line all the time. Does anyone know whats wrong?

Risposte (1)

Andrei Bobrov
Andrei Bobrov il 31 Gen 2017
fun1 = @(x,y)(-x.^2);
fun2 = @(x,y)(y+1).^2;
fun = @(x,y)fun1(x,y)+fun2(x,y);
q = integral2(fun,0,100,0,50);

Categorie

Scopri di più su MATLAB in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by