Finding value of a row number in an array, error

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

c(2,3) % basic indexing , second row and third column

2 Comments

oh alright thanks for the answer, i tought i did write and tried c(2,3) but i wrote c = (2,3). Thanks for claryfying.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!