How to plot data from cells?
Mostra commenti meno recenti
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 !
Risposta accettata
Più risposte (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
Categorie
Scopri di più su Annotations in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
