Community Profile

photo

Emmanuel Lela


Last seen: 3 years ago Active since 2019

Followers: 0   Following: 0

Statistics

  • Thankful Level 1

View badges

Feeds

View by

Question


Unable to perform assignment because the left and right sides have a different number of elements.
T = 1; t = linspace( -2*T, 2*T, 40); k = (1:40); for i = 1:40 k(i) = (4/pi) * (1/(2*i+1)) * sin( ((2*i+1)* pi.* t)/T...

5 years ago | 1 answer | 0

1

answer

Answered
Index exceeds the number of array elements (1).
SumA(1) = 0; SumB(1) = 0; for i = 2:10000 PlayerA = randi([1,2]); PlayerB = randi([1,2]); if (PlayerA + PlayerB) == 2 ...

5 years ago | 0

Question


Index exceeds the number of array elements (1).
SumA(1) = 0; SumB(1) = 0; for i = 2:10000 PlayerA = randi([1,2]); PlayerB = randi([1,2]); if (PlayerA + PlayerB) == 2 ...

5 years ago | 1 answer | 0

1

answer