![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/21845626_1615564790427_DEF.jpg)
S Priya
Followers: 0 Following: 0
Statistics
2 Questions
0 Answers
RANK
150,250
of 297,080
REPUTATION
0
CONTRIBUTIONS
2 Questions
0 Answers
ANSWER ACCEPTANCE
100.0%
VOTES RECEIVED
0
RANK
of 20,424
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
RANK
of 157,839
CONTRIBUTIONS
0 Problems
0 Solutions
SCORE
0
NUMBER OF BADGES
0
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Highlights
AVERAGE NO. OF LIKES
Feeds
Question
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 ago | 2 answers | 0
2
answersQuestion
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 ago | 1 answer | 0