Extract two frist numbers form a column
2 views (last 30 days)
Show older comments
Hi,
I have a column with 400 000 variables that look something like this:
68.092
67.011
76.949
etc.
I would like to extract the two first numbers into a new column such that I get a column that looks like this:
68
67
76
If it matters, the column is categorical.
0 Comments
Answers (2)
See Also
Categories
Find more on Categorical Arrays 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!