When you load into a variable, the data loads into a struct. The fieldnames of that struct are the variables in the mat file. So you need to do something like this instead:
H = load('HW3a.mat');
The way you are currently doing it, MATLAB thinks you are trying to index into the struct itself which is a 1x1 struct, hence the error message.