This MATLAB code takes data from an Excel Spreadsheet containing the list of all stars captured by K2. The purpose of the code is to sort through the data and elimitate stars that do not fit the desired criteria.
The K2 data was retrieved from: https://archive.stsci.edu/k2/epic/search.php
The normalized light curves were retrieved from https://archive.stsci.edu/k2/hlsp/k2sff/search.php
Both links allow you to download the data as excel spreadsheets
This code will plot the data points of the light curve
* all codes are in MATLAB and retrieve data from excel spreadsheets