Hi everyone,
I have one cell vector with the date in this format {YY-MM-DD}, I would like to obtain three different vectors that contain 'YY', 'MM', 'DD'. I tried to convert this in str and using strsplit command but it doesn't work. Is there someone that can help me?? Thanks.
date = 1472×1 cell array {'1985-01-01'} {'1985-01-01'} {'1985-01-01'} {'1985-01-01'} {'1985-01-02'} {'1985-01-02'} {'1985-01-02'} {'1985-01-02'} {'1985-01-03'} {'1985-01-03'}
Best Answer