Basically i have a function that returns a column vector of size Z(100,1) of values. I want to run that function in a loop n times, and store each of those column vectors in a seperate index of an array, yet im having trouble doing this. This is my code that matlab does not like...
numSignals = 30;
Z = zeros(1,numSignals);
for n = 1:numSignals
% load signal of to be reconstructed
Z(1,n) = loadSignal(n);
end