MATLAB: Is there any way to display a row of a character vector

characterdisplay

I am working with the carbig.mat dataset. I have created a 407×1 vector that identifies a country using a 1,2,3,4,5,6, or 7 (1=USA). I would like to be able to display the model corresponding to the row number of a country. Is there a way to display a specific(number) row of a 407×36 character array with the output still in character form? Say I wanted to display the 397 row of the character vector, how would I do that?

Best Answer

Not sure if this is what you are asking:
C = your 407 x 36 character matrix
r = your row number
result = C(r,:); % row r of C