MATLAB: Converting array char cells conversion to decimal numbers

char conversion

hello matlabers 🙂 I wanna ask you how to convert an array cells that consists of char's to decimal numbers … for example if I have this array ( v={'a' 'b' 'c' ;'b' 'c' 'a'} ) how can I convert it let's say v= 97 98 99 ; 98 99 97}
thanks indeed

Best Answer

double(cell2mat(v))