Create a table to store information on students; for each, their name, id number, and major
belongs to book: MATLAB: A Practical Introduction to Programming and Problem Solving|Stormy Attaway|Fourth Edition| Chapter number:8| Question number:29.8
All Answers
total answers (1)
>> 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