double integral of a anonymous function with a matrix

1 visualización (últimos 30 días)
Rob
Rob el 20 de Feb. de 2017
Respondida: Walter Roberson el 20 de Feb. de 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!

Respuestas (1)

Walter Roberson
Walter Roberson el 20 de Feb. de 2017
Use the symbolic toolbox.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by