How do I write $sin(pi*x)*sin(pi*y)?
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
I tried to solve
on
and
on the boundary.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/565831/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/565836/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/565841/image.png)
I get error when I write
. Can anyone help in the following code?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/565846/image.png)
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 Kommentare
Antworten (0)
Siehe auch
Kategorien
Mehr zu Geometry and Mesh finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!