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!