How to replace a number/vector by string?

for example: a=[1 1 2000] ---> 1/1/2000
I'm only allowed using num2str but I don't understand how to use it.
thank's..

回答(2 个)

googo
googo 2013-3-25
thanks... how do I use the switch and case if I want to sort number of situations if days < 10 of month < 10 etc...
switch month case <10
?

1 个评论

This is a new question. Please do not post it as an answer to another question.
If your original question is solved, accept the corresponding answer. Thanks.

请先登录,再进行评论。

类别

帮助中心File Exchange 中查找有关 Shifting and Sorting Matrices 的更多信息

标签

尚未输入任何标签。

提问:

2013-3-25

Community Treasure Hunt

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

Start Hunting!

Translated by