Problem:
Question 1- Write a program using a loop to add all the elements of a vector. Do not use the MATLAB function sum().include comments.
Question 2- Write a program using a loops to add all the elements of a matrix. Do not use the MATLAB function sum().include comments.
Show the code, demonstrate it works properly and describe what it is doing.