I want to create an 1,k cell of m,m matrices. I have some trouble trying to initialize it. My first idea was to do this
myCell = cell{1,K};
for k = 1:K
myCell{1,k} = eye(m);
end
But it seems like such ugly way to initialize it. There have to be a better way?