Does anybody know?
Show older comments
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 Comment
Andrei Bobrov
on 6 Mar 2012
c = [1 2 3 4]
out = c*10.^(numel(c)-1:-1:0).'
Accepted Answer
More Answers (1)
Categories
Find more on Logical in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!