How to plot data from cells?
Mostrar comentarios más antiguos
I have data for four different conditions saved in a cell format. Someone please guide me how to plot the data? I have tried the plotSpread function but it is generating following errors:
Unrecognized function or variable 'repeatEntries'.
Error in plotSpread (line 192)
distributionIdx = repeatEntries((1:nData)',nn);
The data file iis attached. Many thanks !
Respuesta aceptada
Más respuestas (1)
Here's one way:
load('data_conditions.mat')
data_oROI
for ii = 1:numel(data_oROI)
subplot(2,2,ii)
plot(squeeze(data_oROI{ii}))
end
Categorías
Más información sobre Annotations en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
