Q:

Create a table to store information on students; for each, their name, id number, and major

0

Create a table to store information on students; for each, their name, id number, and major. 

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

>> names = {'Carlton', 'Raaid', 'Igor'};

>> ids = {'123'; '234'; '345'};

>> majors = {'CE'; 'EE'; 'CE'};

>> awesomestudents = table(ids, majors, 'RowNames', names)

awesomestudents = 

 ids majors

 _____ ______

 Carlton '123' 'CE' 

 Raaid '234' 'EE' 

 Igor '345' 'CE' 

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

Similar questions


need a help?


find thousands of online teachers now