Bushra Atta Khakwani khakwani
Followers: 0 Following: 0
Statistics
2 Questions
0 Answers
RANK
212,382
of 289,771
REPUTATION
0
CONTRIBUTIONS
2 Questions
0 Answers
ANSWER ACCEPTANCE
50.0%
VOTES RECEIVED
0
RANK
of 19,586
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
RANK
of 144,154
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
i want to generate random matrix "P" but every alternate entry in each of the column is repeating
for i = 1:22 for j=1:22 if mod(j,2)==0 P(j,i) = y_random(i); %y coordinate else P(j,i) = x_ran...
1 year ago | 0 answers | 0
0
answersQuestion
I want to only run my loop till 22 but it shoud take odd numbers for x_random and even for y_random
while i < 22 if mod(i,2)==0 P(2,i) = y_random(i); %y coordinate else P(1,i) = x_random(i); %x coord...
1 year ago | 1 answer | 0