how to find the corresponding elements in a matrix/excel
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Aiman Zara
am 10 Apr. 2023
Beantwortet: Image Analyst
am 10 Apr. 2023
Like if I name the Stage 2 then it should display the disease name(Alternaria leafspot) occuring at that stage. Sample file attached
2 Kommentare
Image Analyst
am 10 Apr. 2023
If you name what "the Stage 2"? Display the disease name how???? On a GUI? In the command window? In the workspace panel?
If you have any more questions, then attach your data and code to read it in with the paperclip icon after you read this:
Akzeptierte Antwort
Image Analyst
am 10 Apr. 2023
Try this:
t = readtable('FinalBookExcel.csv')
% Lets specify row 2, column 1 and get the value there.
row = 2;
t21 = t.CottonStage(row)
% Now let's get the "DiseaseSeverity" value for that same row
t22 = t.DiseaseSeverity(row)
% Now let's get the "Disease" value for that same row
t23 = t.Disease(row)
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Language Support finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!