I have a cell name1 (nx1)
a.mat
b.mat
c.mat
...
z.mat
I'd like to create a cell name2 in which all the .mat have been removed so I'll have this
a
b
c
...
z
I could create a loop and remove the .mat with strsplit or fileparts but this would be very cumbersome. Anyone has a shortcut how to do this? Thanks in advance!