Petit probleme avec fprintf MATLAB
Fermé
yoyo
-
14 oct. 2008 à 12:01
Char Snipeur Messages postés 9688 Date d'inscription vendredi 23 avril 2004 Statut Contributeur Dernière intervention 2 octobre 2020 - 14 oct. 2008 à 12:49
Char Snipeur Messages postés 9688 Date d'inscription vendredi 23 avril 2004 Statut Contributeur Dernière intervention 2 octobre 2020 - 14 oct. 2008 à 12:49
A voir également:
- Petit probleme avec fprintf MATLAB
- Petit colis distribution - Forum Internet / Réseaux sociaux
- Petit 1 comme ² ✓ - Forum Windows
- Remplir une matrice matlab ✓ - Forum Matlab
- Petit l ✓ - Forum Loisirs / Divertissements
- Méthode de gauss matlab ✓ - Forum Matlab
1 réponse
Char Snipeur
Messages postés
9688
Date d'inscription
vendredi 23 avril 2004
Statut
Contributeur
Dernière intervention
2 octobre 2020
1 328
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) ]);