Uploaded Matlab script