double integral of a anonymous function with a matrix

1 Ansicht (letzte 30 Tage)
Rob
Rob am 20 Feb. 2017
Beantwortet: Walter Roberson am 20 Feb. 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!

Antworten (1)

Walter Roberson
Walter Roberson am 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