Exercise 19 Solution
function exercise_19(matr)
%{
Example:
A = randi(10,[4 7])
exercise_19(A)
%}
% assumes there are >1 rows
[nrows, ncols] = size(matr);
nc = randi(ncols,1);
rcol = matr(:,nc);
disp( rcol );
For more details, please contact me
here
.