I am using MATLAB R2020a and I am following a tutorial online for Data Analysis within MATLAB. In the tutorial, it shows how to filter the columns by category via a dropdown. However, I am not seeing the same options available to me when I open the table in the variable editor. See example code and screenshot below:
%create random table
t1 = [1,2,3,4]';t2 = {'Foo','Bar','Foo','Bar'}';tbl = table();tbl.t1 = t1;tbl.t2 = t2;% Convert to categorical
tbl.t2 = categorical(tbl.t2)
Best Answer