function Matrix = task2Matrix Matrix = [10 -4 1 2; 2 -6 3 -1; 1 4 -12 1; 2 3 -3 -10]; function Vector = task2Vector Vector = [-8 -12 4 1];