Here is an inefficient way of creating a structure variable to store a person’s name as first, middle, and last:
belongs to book: MATLAB: A Practical Introduction to Programming and Problem Solving|Stormy Attaway|Fourth Edition| Chapter number:8| Question number:13.8
All Answers
total answers (1)
>> myname = struct('first','Homer','middle','James',... 'last', 'Fisch')
need an explanation for this answer? contact us directly to get an explanation for this answer