MATLAB: How can i load solar data for forecasting as a raw vector in matlab

solar

Hi,
i have a dataset for solar irradiance and attaching here .How can i load this irradiance data in matlab as a single raw vector ?data should be loaded as irradiance in y axis and time (days) in a month in x axis.
please advice

Best Answer

Try this:
T1 = readtable('SoDa_MERRA2_lat24.533_lon79.615_2020-09-01_2020-09-30_1151725210.csv', 'VariableNamingRule','preserve');
VarNames = T1.Properties.VariableNames;
figure
plot(T1{:,1}, T1{:,11})
grid
xlabel(VarNames{1})
ylabel(VarNames{11})
producing:
Experiment to get the result you want.
I leave the forecasting to you.