reversing the digits into a string
1 view (last 30 days)
Kshittiz Bhardwaj on 10 Jul 2022
I understand that you want to convert your list into a string and then reverse it.
Follow these commands to get your desired result.
S = l1(:)';
This will convert your 2*2 array into a 1*4 array
str = char( S ) converts the input list to a char array
rev = reverse( str ) reverses the order of the characters in str .