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에서 Simulink에 대해 자세히 알아보기

질문:

2013년 10월 17일

댓글:

2013년 10월 17일

Community Treasure Hunt

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

Start Hunting!

Translated by