Matlab PDE boundry condition confusion.
Info
This question is closed. Reopen it to edit or answer.
Show older comments
i have a pde where i want to be able to manipulate variables to see how the function acts. The problem is that i don't know how to set boundry conditions or g=graph the square of the function. The function should be: (k is a constant)
DuDt = k*(DuDx)/Dx + (x^2)*u
with an initial condition:(b and s are constants)
u0=e^[(x-b)^2/s]
and boundary conditions
u(-5,t)=0 u(5,t)=0
any help would be very much appreciated
Answers (0)
This question is closed.
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!