Question: MATLAB >> 18. Create a struct array called Class with fields title (string), semester (string), and enrollment (double). Populate the Class struct with information from
>> 18. Create a struct array called Class with fields title (string), semester (string), and enrollment (double). Populate the Class struct with information from three of your favorite courses. Example first element: Class (1).title = 'E'; Class (1).semester = 'Spring 2011'; Class (1).enrollment = 405; Download : Download full-size image For the example first element given, use concatenation of the field values in Class to generate the string 'E7: Spring 2011
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
