fortran do loop to matlab
Mostra commenti meno recenti
DO 7 J = 1, JMAX
something
DO 6 I = 1, IMAX
something
6 CONTINUE
7 CONTINUE
Risposte (1)
dpb
il 5 Nov 2020
1 voto
MATLAB is Fortran w/ DO --> for and CONTINUE --> end
But, depending on what "somethings" are, you may well (and probably should) vectorize the code and eliminate the explicit loops entirely.
Categorie
Scopri di più su Fortran with MATLAB in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!