1. Limited time only! Sign up for a free 30min personal tutor trial with Chegg Tutors
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Homework Help: Matlab: automated ommitting of letters from mutiple file names

  1. Jun 16, 2014 #1
    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!
  2. jcsd
  3. Jun 16, 2014 #2
    is this homework for some class??
    regardless take a look at the following Matlab functions
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook

Have something to add?
Draft saved Draft deleted