I have a data set (DATA) that contains 100 stations with daily prices and demand.
Using this code I can have 100 stations with the data that belong to each of them.
Can you help me to fix the code??
N=length(DATA(:,1))for i=1:Nx=DATA(i,1)station=['S', num2str(x)]station=[station;DATA(i,:)]end
Best Answer