Community Profile

photo

iCalif


Active since 2012

Followers: 0   Following: 0

Message

Statistics

  • Thankful Level 1

View badges

Feeds

View by

Question


In an assignment A(I) = B, the number of elements in B and I must be the same.
clc x=25; y=25; for i=1:10 r=rand; if r<=0.25 x(i) =x+1 elseif r<=0.5 && r>0.25 y=y+1 else if r<=0.75 && ...

11 years ago | 2 answers | 0

2

answers