plotting target cell means from each arrays

1 visualizzazione (ultimi 30 giorni)
Kuang-Yu WANG
Kuang-Yu WANG il 27 Giu 2018
for k2 = 1:22
data2 = mean(cellfun(@(x) x(k2,4), thething))
plot(data2,'-')
end
this is my script that i want to plot means from (1,4) to (22,4) of thething(arrays). However there is nothing on the screen after the codes run.

Risposte (0)

Categorie

Scopri di più su Line Plots in Help Center e File Exchange

Prodotti

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by