How to use Display Function ?
7 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Christine Ak
le 17 Oct 2013
Commenté : Christine Ak
le 17 Oct 2013
Hey ,,, Can any body tell me how to print the values x,y,z by using display function but withOUT spaces between them ??
x=1;
y=2;
z=3;
disp[x y z]
0 commentaires
Réponse acceptée
Azzi Abdelmalek
le 17 Oct 2013
Modifié(e) : Azzi Abdelmalek
le 17 Oct 2013
If there is no spaces between them, that means you want to display 123
x=1;
y=2;
z=3;
a=[x y z];
display(sprintf('%d',a))
Plus de réponses (0)
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!