fortran do loop to matlab
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
DO 7 J = 1, JMAX
something
DO 6 I = 1, IMAX
something
6 CONTINUE
7 CONTINUE
0 commentaires
Réponses (1)
dpb
le 5 Nov 2020
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.
0 commentaires
Voir également
Catégories
En savoir plus sur Fortran with MATLAB dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!