double integral of a anonymous function with a matrix

1 visualizzazione (ultimi 30 giorni)
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!

Risposte (1)

Walter Roberson
Walter Roberson il 20 Feb 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