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!

 Akzeptierte Antwort

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

2 Kommentare

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.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Community Treasure Hunt

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

Start Hunting!

Translated by