plotting cells from arrays
9 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
for k2 = 1:22
data2 = mean(cellfun(@(x) x(k2,4), thething))
plot(data2,'-')
end
this is my codes. thething is my arrays contain cells. After I run the scripts, the plot just show nothing on it. Please tell me what's wrong with my code?
8 commentaires
Stephen23
le 28 Juin 2018
@Kuang-Yu WANG: please upload your data in a .mat file by clicking the paperclip button.
Réponses (1)
KSSV
le 27 Juin 2018
figure
hold on
for k2 = 1:22
data2 = mean(cellfun(@(x) x(k2,4), thething))
plot(data2,'-')
end
4 commentaires
Voir également
Catégories
En savoir plus sur Logical dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!