How to do discretization with variable step size ?
6 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Adnan Hayat
il 27 Gen 2021
Commentato: Adnan Hayat
il 28 Gen 2021
Hello everyone,
I have an axis, suppose,
0_____________________10_____________________20
I have to define a vector x, such that from 0 to 10, I have to keep a step size dx0 and from 10 to 20, the step size should be dx1. Could anybody suggest how to handle it ? This vectoe x will be provided via 'for' loop to the PDE to be solved.
0 Commenti
Risposta accettata
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Boundary Conditions in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!