introduction to programming with matlab - Vanderbilt University week-4 assignment 2 solutions

Multiple Outputs

These solutions are for reference only.

It is recommended that you should solve the assignment and quiz by yourself honestly then only it makes sense to complete the course.

but if you cant figure out some part of it than you can refer these solutions

make sure you understand the solution  

dont just copy paste it


function [a, b, c, d] = corners(M)

    a = M(1, 1);

    b = M(1, end);

    c = M(end, 1);

    d = M(end, end)


main course :