Skip to content

Instantly share code, notes, and snippets.

View ktripa's full-sized avatar
💭
Busy

KUMAR TRIPATHY ktripa

💭
Busy
View GitHub Profile
%% PDSI TIME SERIES
df = readmatrix('PDSI_DATA_1901_2017.xlsx');
pdsi = df(:,2);
dates = num2str(df(:,1));
years = str2num(dates(:,1:4));
months = str2num(dates(:,5:6));
dates = datenum(years, months, 1);
% Plotting the sc-PDSI data