Forgive me if this sounds really stupid. I am a new Matlab user, and I have about 200 data sets from various samples in the naming format "varname_sample_daily" and i wish to remove the "daily" portion of it from the variable name through an automated process (i.e change all file names to just "varname_sample"). I am not sure if there's a script that could help me with this rather than having to change them all manually (which I really dread). Would greatly appreciate if anyone can offer some help with this. Thanks!