How can I separate data by keeping the first 3 digits the same?
1 回表示 (過去 30 日間)
古いコメントを表示
I have a big data file which has many variables. One of them is the userIdName ( the users name) . The first 3 digits are the same, and in the 4th digit the userIdName changes, for example 1001001,1001002,1001003 belong to the same userid , but 1002001 is a different userIdName. I have almost 100000 of those numbers and I want to find how many userIdNames I have. How can I do that? Shall I use For Loop?
4 件のコメント
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Data Type Identification についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!