introduction to programming with matlab - Vanderbilt University week-3 assignment 2 solutions
Matrix Indexing
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
---------------------------------------------------------------------------
matrix_indexing.m
A = [1:5; 6:10; 11:15; 16:20];
v = A(:, 2);
A(end, :) = 0;
main course : https://www.coursera.org/learn/matlab
No comments