Command Line hyperbolic PDE with non zero boundary conditions

Does anyone know if there is a method of solving hyperbolic PDE's in matlab with non zero boundary conditions?
I saw this in the matlab documentation but it seems to pre set Dirichlet boundary conditions automatically. Where I have a boundary condition that is a function of time.
I could solve by hand and put the solution in matlab I suppose. But it would be nice to have it auto solve since the factors inside the boundary condition can change from problem to problem.

Answers (1)

It depends on how many dimensions your geometry has. For 2-D and 3-D problems, Partial Differential Equation Toolbox can solve second-order hyperbolic PDEs with a variety of boundary conditions.
Good luck,
Alan Weiss
MATLAB mathematical toolbox documentation

2 Comments

It is a 2D wave equation with custom boundary conditions. Is there a way to do it in the command line environment? I could just solve the pde by hand but then I would have to resolve it everytime I tweaked the boundary conditions.
Please look at the boundary conditions link in my previous answer. The answer is yes, you can do virtually anything at the command line that you can do in the PDE App.
Alan Weiss
MATLAB mathematical toolbox documentation

Sign in to comment.

Asked:

on 29 Jun 2016

Commented:

on 7 Jul 2016

Community Treasure Hunt

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

Start Hunting!