Hi,
I need to convert a 4x4xN symbolic matrix (called T) in a char, so, after initialization by
Tchar = char(zeros(4,4,N));
so I use a for loop with three indices (ii,jj,kk) as:
for ii=1:N for jj=1:4 for kk=1:4 Tchar(jj,kk,ii) = char(T(jj,kk,ii)); end end end
but it returns me the error..:
Assignment has more non-singleton rhs dimensions than non-singletonsubscripts
but T-dimensions is equal to Tchar dimensions. What is the matter?
Best Answer