How do I write $sin(pi*x)*sin(pi*y)?
2 views (last 30 days)
Show older comments
I tried to solve on and on the boundary.
I get error when I write . Can anyone help in the following code?
model = createpde;
g = geometryFromEdges(model,@squareg);
pdegplot(model)
pdegplot(model,'EdgeLabels','on');
axis equal
applyBoundaryCondition(model,'dirichlet','Edge',1:model.Geometry.NumEdges,'u',0);
specifyCoefficients(model,'m',0,'d',0,'c',1,'a',0,'f',sin(pi*x)*sin(pi*x));
0 Comments
Answers (0)
See Also
Categories
Find more on Geometry and Mesh in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!