hello, I have the following code gave me that PA and PT as vectors ,my question how to save data PA and PT in form matrix of 220 columns
NC=16; PA=; PT=; for n=1:NC for t=1:220 %for t=S tt = logical(masquea(:,:,n)); tt = tt(:); ff=logical(masquet(:,:,n)); ff=ff(:); Im=HYPERD(:,:,t); Im=Im(:);
PA = [PA;Im(tt)];%% the problem arises in this line PT=[PT;Im(ff)]; end
No products are associated with this question.
Play games and win prizes!Learn more