%% Exponential Fitting Algorithm % By Tylor Slay % Portland State University close all clear clc %% Create Datastore from data directory % This will find all data files in data folder and run the fit column % function on each of them. % relative paths should make things easier rocof_ds = datastore('..\data1PMU1\*.csv', 'TreatAsMissing', 'NA'); for ii = 1:length(rocof_ds.Files) filename = cell2mat(rocof_ds.Files(ii)); FitColumn(filename); end