Petit probleme avec fprintf MATLAB
Fermé
yoyo
-
14 oct. 2008 à 12:01
Char Snipeur Messages postés 9813 Date d'inscription vendredi 23 avril 2004 Statut Contributeur Dernière intervention 3 octobre 2023 - 14 oct. 2008 à 12:49
Char Snipeur Messages postés 9813 Date d'inscription vendredi 23 avril 2004 Statut Contributeur Dernière intervention 3 octobre 2023 - 14 oct. 2008 à 12:49
A voir également:
- Petit probleme avec fprintf MATLAB
- Trier du plus petit au plus grand excel - Guide
- Petit 2 ✓ - Forum Bureautique
- Petit 9 - Forum Mail
- Comment écrire le "carré" sur clavier MA ✓ - Forum MacOS
- Comment imprimer une photo en petit ✓ - Forum Photo numérique
1 réponse
Char Snipeur
Messages postés
9813
Date d'inscription
vendredi 23 avril 2004
Statut
Contributeur
Dernière intervention
3 octobre 2023
1 298
14 oct. 2008 à 12:49
14 oct. 2008 à 12:49
fait des concaténation avec num2str :
for i=1:N-1,
fprintf(['g' num2str(i,3) ', ']);
end;
fprintf(['g' num2str(N,3) ]);
for i=1:N-1,
fprintf(['g' num2str(i,3) ', ']);
end;
fprintf(['g' num2str(N,3) ]);