i am getting this error
Array indices must be positive integers or logical values.Error in tabular/dotParenReference (line 108) b = b(rowIndices);Error in tryout (line 12) z1 = sum(y.resource (p:T).^2)
for the following lie of code
z1 = sum(y.resource (p:T).^2)
here i would be taking values from variable resource in table y, for which sum till end day of project(t) whose square is found.
i hope this explains the above line from code.
Best Answer