double integral of a anonymous function with a matrix

1 vue (au cours des 30 derniers jours)
Rob
Rob le 20 Fév 2017
How can I integrate the function below over xmin=0,xmax=1,ymin=0,ymax=1?
b=0.1;
h=0.05;
B=@(x,y) 1/(4*b*h)*
[-(h-y),0,(h-y),0,(h+y),0,-(h+y),0;
0,-(b-x),0,-(b+x),0,(b+x),0,(b-x);
-(b-x),-(h-y),-(b+x),(h-y),(b+x),(h+y),(b-x),-(h+y)]
Thanks in advance!

Réponses (1)

Walter Roberson
Walter Roberson le 20 Fév 2017
Use the symbolic toolbox.

Community Treasure Hunt

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

Start Hunting!

Translated by