I have a variable table that is defined as a 1x16 cell
I want to plot the values in the table. What is the command to do so? The variable name is result_table
I have tried
plot(result_table)
but that did not work
CodePudding user response:
I assume that your cell is like this result_table = {1,2,3}
An easy way to plot these three elements is to make them a matrix. So you can do:
A = cell2mat( result_table )
plot(A)
Matlab Reference for cell2mat.
Matlab Reference for cell array.