photo

tlig zied


Last seen: 5 years ago Active since 2020

Followers: 0   Following: 0

Statistics

MATLAB Answers

2 Questions
0 Answers

RANK
110,270
of 300,759

REPUTATION
0

CONTRIBUTIONS
2 Questions
0 Answers

ANSWER ACCEPTANCE
0.0%

VOTES RECEIVED
0

RANK
 of 21,081

REPUTATION
N/A

AVERAGE RATING
0.00

CONTRIBUTIONS
0 Files

DOWNLOADS
0

ALL TIME DOWNLOADS
0

RANK

of 170,900

CONTRIBUTIONS
0 Problems
0 Solutions

SCORE
0

NUMBER OF BADGES
0

CONTRIBUTIONS
0 Posts

CONTRIBUTIONS
0 Public Channels

AVERAGE RATING

CONTRIBUTIONS
0 Discussions

AVERAGE NO. OF LIKES

Feeds

View by

Question


how to generate a random array list with fixed sum ?
this code distributes fixed number in an array list, for exemple we have sum = 10, and the size of the array list is 3 the code...

5 years ago | 1 answer | 0

1

answer

Question


why the while loop with two conditions don't verify the second condition ?
aff=zeros(6,4); s1=sum(aff(1:6,1:4),1); s2=sum(aff(1:6,1:4),2); sol_aff=[6 2 2 2]; m=zeros(6,1); for i=1:6 m(i)=2; en...

5 years ago | 1 answer | 0

1

answer