Prev: Looking for Van Nelle Halfzware Shag Tobacco online?
Next: Uipanel as parent to uitree/uitree_deprecated
From: Jacob Pr?her on 3 Dec 2009 04:15 Hello everyone, I have this simple piece of code in matlab: signalXYZ = cell(1,10); for i=1:1:10 % each cell contains 3 column matrix. Row count is different for each matrix (cell). signalXYZ{1,i} = [handles.lp.sX{1,i} handles.lp.sY{1,i} handles.lp.sZ{1,i}]; end .... and I'm still getting this: Index exceeds matrix dimensions. Now, I know what that means. It just doesn't make any sense! The first turn of the for loop goes fine, but on the second turn it returns this error. (To me it seems like some error in MATLAB itself. 'cause cell array can contain matrices of different sizes. And yes, I've checked if sX sY sZ are the same sized column vectors.) Please advice Jacob |