How to apply periodic boundary condition in a finite difference method?
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
I have a matrix 'q' with dimension 120*120 which will be used in finite difference method. But for the finite difference method to work, the i and j values in the for loop should start from 2 and end in 121 (in my case). q(j,1)=q(j,120) : Periodic boundary condition. So how to include the first and last column for computation in the FDM?
0 comentarios
Respuestas (0)
Ver también
Categorías
Más información sobre Creating and Concatenating Matrices en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!