Does anybody know?
이전 댓글 표시
A line of code i could use for my function so when i insert a vector such as [1 2 3 4], the function i am making see's it as the value 1234(one thousand, two hundred and thirty four) instead? Thanks :)
댓글 수: 1
Andrei Bobrov
2012년 3월 6일
c = [1 2 3 4]
out = c*10.^(numel(c)-1:-1:0).'
채택된 답변
추가 답변 (1개)
카테고리
도움말 센터 및 File Exchange에서 Logical에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!