I wrote the following code that is based on reading two csv files that I include.
a = dlmread ('gb.csv')
b = dlmread ('gb2.csv')
function [Qfresh,Qsea] = concentration(CCLspring,Qspring)
Qsea = Qspring*(CCLspring-CCLfresh)/(CCLsea-CCLfresh)
for i = 1:size(a,1)
for j = 1:size(a,2)
I get the following message that I don't understand: 'error: value on right hand side of assignment is undefined'.