Finding value of a row number in an array, error

2 views (last 30 days)
i want to find the value of c(2,3)
in a matrix consisting of
c = [1.1 -3.2 3.4 0.6;...
0.6 1.1 -0.6 3.1;...
1.3 0.6 5.5 0.0];
so i did
size(c)
find(c== 2 ,3)
but after running the program i found this error
0×1 empty double column vector
i dont really what to do now
please help!

Accepted Answer

madhan ravi
madhan ravi on 13 May 2019
c(2,3) % basic indexing , second row and third column

More Answers (0)

Community Treasure Hunt

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

Start Hunting!