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]

 採用された回答

Azzi Abdelmalek
Azzi Abdelmalek 2013 年 10 月 17 日
編集済み: Azzi Abdelmalek 2013 年 10 月 17 日

0 投票

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))

1 件のコメント

Christine Ak
Christine Ak 2013 年 10 月 17 日
Yes Sir !! thats it .... thank U So much :D

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File Exchange で Programming についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by