How to use Display Function ?
10 次查看(过去 30 天)
显示 更早的评论
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 个评论
采纳的回答
Azzi Abdelmalek
2013-10-17
编辑:Azzi Abdelmalek
2013-10-17
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))
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Loops and Conditional Statements 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!