double integral of a anonymous function with a matrix

1 回表示 (過去 30 日間)
Rob
Rob 2017 年 2 月 20 日
回答済み: Walter Roberson 2017 年 2 月 20 日
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!

回答 (1 件)

Walter Roberson
Walter Roberson 2017 年 2 月 20 日
Use the symbolic toolbox.

カテゴリ

Help Center および File ExchangeCalculus についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by