Week 2 - Coding basics
Objective: close allclear allclc% input variablesA=[1,2,3,4,5];B=[1;2;3;4;5];C=A*B;D=B*A;E=A(1:end);F=A(1:2);G=B(1:2,3)H=(length(B)-2);At line number 15 'H' their is error because its defined row vector but above B matrix their is cloumn matrix error: A(I,J): column index out of bounds; value 3 out of bound 1