photo

Elizabeth Antohi


Last seen: 4 years ago Active since 2020

Followers: 0   Following: 0

Statistics

  • Thankful Level 2
  • Thankful Level 1

View badges

Feeds

View by

Question


How can I incorporate values of An and Bn into matrix C? Matrix C output at the end of for loop is still values from X = randn
numberOfExperiments = input('Number of trials: '); %number of trials a = {'G1' 'g1'} %heterozygous die 1 parent b = {'G2'...

4 years ago | 1 answer | 0

1

answer

Question


Index in position 1 exceeds array bounds (must not exceed 1). How do I fix this error?
n = input('Number of dice: '); %number of dice being rolled numberOfExperiments = input('Number of trials: '); faces = input(...

4 years ago | 1 answer | 0

1

answer