how to know pixel' s value of matrix
1 view (last 30 days)
Show older comments
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
0 Comments
Accepted Answer
the cyclist
on 2 Jan 2016
For the last column
a(:,end)
OR
a(:,4)
For the last row:
a(end,:)
OR
a(3,:)
0 Comments
More Answers (0)
See Also
Categories
Find more on Numeric Types in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!