Feeds
질문
Why is pre-allocating done?
In a program why is pre-allocating done?for example using arrays of zeros ex- A=zeros(3)
4년 초과 전 | 답변 수: 2 | 0
2
답변질문
Index exceeds the number of array elements (2).Please help ?
h=1; Ha=[-0.5;0.5]*h; for i=1 h1=Ha('1,i');h2=Ha('2,i'); hnl=h2-h1; end
4년 초과 전 | 답변 수: 1 | 0

