% step 1: define vector a a = [6, 7, 7, 7, 4, 7, 7, 7, 7, 4]; % step 2: define vector b b = [7, 1, 5, 5, 0, 1, 6, 6, 1, 0]; % step 3: define vector c c = [1, 1, 0, 0, 0, 0, 1, 0, 1, 1]; % step 4: square vector a d = a.^2; % step 5: add vectors b and d e = b + d; % step 6: multiply vector e by scalar 2 f = e * 2; % step 7: add vectors c and f g = c + f; % pass vector g to function char() char(g) % Output: "Well done!"