MATLAB - Cell Arrays and Structures
Identify the error in the following code:
data.Name = {'John', 'Jane'};
data.Age = [30, 25];
disp(data(2).Name);data.Name = {'John', 'Jane'};
data.Age = [30, 25];
disp(data(2).Name);15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions