Left 6 digits of a 9 digit number that could be incomple
Show older comments
I have a column of 9 digit numbers that I want to trim to the left 6 digits.For example,931146104 should be 931146. Sometimes for small numbers the 9 digit column contains numbers that are fewer than 9 digit . for example 3100 should be 000003100 and the 6 digit number is consequently 000003. This manipulation is far beyond my basic matlab skills. I am wondering how to compute the 6 digit number in this context.
Accepted Answer
More Answers (1)
Categories
Find more on Shifting and Sorting Matrices 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!