How can I separate data by keeping the first 3 digits the same?

1 回表示 (過去 30 日間)
Katrin Kamp
Katrin Kamp 2017 年 10 月 30 日
編集済み: Walter Roberson 2017 年 10 月 31 日
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 件のコメント
Katrin Kamp
Katrin Kamp 2017 年 10 月 30 日
numeric variables
Katrin Kamp
Katrin Kamp 2017 年 10 月 30 日
編集済み: Walter Roberson 2017 年 10 月 31 日

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeData Type Identification についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by