S Priya
Followers: 0 Following: 0
Feeds
提问
Why is pre-allocating done?
In a program why is pre-allocating done?for example using arrays of zeros ex- A=zeros(3)
3 years 前 | 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
3 years 前 | 1 个回答 | 0