my code is shown below. frist i read data from a excel file. the i have a for loop to read 11 rows from the excel. I do some calculations next. when i run this file i obtain a series absorption profiles overlapped to each other due to the hold on function plotted. what i would like to do is some how continuously add the absorption data called absorbance such that in the end all absorption data are added together and i able to see on the plot the summation of all the absorption data. please help!
function simulate = absorptionprofile