MATLAB: To get 100 vectors using the previous vector

MATLABvector

I have following matrices, F(9×9) Q1(9×1) I want to get Q2,Q3,Q4… such that Q2 = FxQ1 Q3 = FxQ2 Q4 = FxQ3 . . . Q100 = FxQ99

Best Answer

Q = cell(100,1);
Q{1} = Q1;
for i = 2:numel(Q)
Q{i} = F*Q{i-1};
end