matlab for loop array index的相關文章
matlab for loop array index的相關公司資訊
matlab for loop array index的相關商品

array index - MATLAB Answers - MATLAB Central
瀏覽:1455
日期:2025-04-27
Hi, I have declared the size of array as 4*4.When i run the third for loop the size of array becomes 49*49.Dont know why this happens in that loop? pat1='11'; arr=zeros(4,4); len=length(pat1); for i=1:4 for j=1:4 arr(i,j)=l+2; end end...看更多