Effacer les filtres
Effacer les filtres

How do I write $sin(pi*x)*sin(pi*y)?

3 vues (au cours des 30 derniers jours)
kaps
kaps le 29 Mar 2021
Modifié(e) : kaps le 29 Mar 2021
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));

Réponses (0)

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by