MATLAB: How to delete an element from a cell

delete numbers

I have a column in matlab with data written this way:
19970422
30980524
63098754
etc …
And I only want to have the first 4 numbers (preferably as a new variable), for instance like this:
1997
3098
6309
How can I do it? Thanks a lot for your help.

Best Answer

Thats easy
X=[19970422 30980524 63098754]
New_X=floor(X/1000)