elliptic PDE with variable coefficient
古いコメントを表示
Hello,
I am desperately trying to solve the following equation (in 2D) :
-(laplacian)u + u =1
This is basically an elliptic PDE with
c=1 , f=1 and a= B(x,y).
B(x,y) is a function I have created that doesn't have any closed form. Here's the code for B(x,y):
I entered c=1 , f=1 and a= B(x,y) in the pde specification but I cannot solve the equation as I get the following error
Expression evaluates to wrong size. Must be scalar or row vector. In a system case, pass first or second row; for example u(2,:)
Can somebody help me fix this ?
Thank you
2 件のコメント
Geoff Hayes
2014 年 11 月 19 日
Ann - please describe what you mean by I entered c=1 , f=1 and a= V(x,y). in the pde specification but I cannot solve the equation as I get the following error. What line of code are you calling that generates the error? What is the pde specification?
ann
2014 年 11 月 19 日
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Eigenvalue Problems についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!