photo

Lavitania Searjaya


Last seen: environ 5 ans il y a Actif depuis 2020

Followers: 0   Following: 0

Statistiques

MATLAB Answers

3 Questions
0 Réponses

RANG
181 256
of 300 851

RÉPUTATION
0

CONTRIBUTIONS
3 Questions
0 Réponses

ACCEPTATION DE VOS RÉPONSES
0.0%

VOTES REÇUS
0

RANG
 of 21 094

RÉPUTATION
N/A

CLASSEMENT MOYEN
0.00

CONTRIBUTIONS
0 Fichier

TÉLÉCHARGEMENTS
0

ALL TIME TÉLÉCHARGEMENTS
0

RANG

of 171 294

CONTRIBUTIONS
0 Problèmes
0 Solutions

SCORE
0

NOMBRE DE BADGES
0

CONTRIBUTIONS
0 Publications

CONTRIBUTIONS
0 Public Chaîne

CLASSEMENT MOYEN

CONTRIBUTIONS
0 Point fort

NOMBRE MOYEN DE LIKES

Feeds

Afficher par

Question


If for example, I have the letter 'a' in table punnettSquare(2,1) and I want to add a letter 'b' to that same cell so that the element of the cell would be 'ab'. What function should I use?
punnettSquare = 5×5 cell array {0×0 double} {0×0 double} {0×0 double} {0×0 double} {0×0 double} {'a...

plus de 5 ans il y a | 1 réponse | 0

1

réponse

Question


Hello! I am trying to append an element into a 5x5 empty cell called 'punnettSquare'. How can I append the first element of a1 and the first element b1 into row 2 column 1 of punnettSquare? Thank you!
% For error checking valid_inputA = {'AA';'Aa';'aa'}; valid_inputB = {'BB';'Bb';'bb'}; % Asking the user for input parent...

plus de 5 ans il y a | 1 réponse | 0

1

réponse

Question


Hi, I am asking the user for input and the input should be either "AA" "Aa" or "aa". How can I validate the input using a while loop? I don't think my code works.Thanks!
parentOneA = input("Enter Parent 1's A Trait: ") % Error checking input while parentOneA ~= "AA" || parentOneA ~= "Aa" || pare...

plus de 5 ans il y a | 1 réponse | 0

1

réponse