Clear Filters
Clear Filters

how to know pixel' s value of matrix

1 view (last 30 days)
hello i have a matrix (a)
a= [a b c d;
e f g h;
i j k l]
  • i wanna test/know the values of d,h,l and i j k l

Accepted Answer

the cyclist
the cyclist on 2 Jan 2016
For the last column
a(:,end)
OR
a(:,4)
For the last row:
a(end,:)
OR
a(3,:)

More Answers (0)

Categories

Find more on Multidimensional Arrays in Help Center and File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!