elliptic PDE with variable coefficient
Mostra commenti meno recenti
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 Commenti
Geoff Hayes
il 19 Nov 2014
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
il 19 Nov 2014
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Eigenvalue Problems in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!