How to plot data from cells?
Show older comments
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 !
Accepted Answer
More Answers (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
Categories
Find more on Annotations in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!