![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/29273281_1677140833965_DEF.jpg)
Viraj
Followers: 0 Following: 0
Feeds
已回答
Squeezing a two-dimensional array into a one-dimensional array without using a FOR loop
A=[1 2 3 4; 5 6 7 8; 9 10 11 12]; B=zeros(1,size(A,1)*size(A,2)); k=1; for i=1:size(A,1) for j=1:size(A,2) B(k)...
Squeezing a two-dimensional array into a one-dimensional array without using a FOR loop
A=[1 2 3 4; 5 6 7 8; 9 10 11 12]; B=zeros(1,size(A,1)*size(A,2)); k=1; for i=1:size(A,1) for j=1:size(A,2) B(k)...
1 year 前 | 0