Question: Create a cell array variable named cvar that stores a student's name, university ID number, and grade point average (GPA). Initialize it with this data:

Create a cell array variable named cvar that stores a student's name, university ID number, and grade point average (GPA). Initialize it with this data: "Audrey Hepburn",97654321, 3.75. Print the contents of the cell arrary variable. Repeat the exercise, but this time use a structure variable named svar to store the same information. This will demonstrate your ability to create and access items within a cell array versus a structure. Store your work in a script named student,m
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
