Borrar filtros
Borrar filtros

subploting the cells from arrays

2 visualizaciones (últimos 30 días)
Kuang-Yu WANG
Kuang-Yu WANG el 27 de Jun. de 2018
Comentada: Kuang-Yu WANG el 27 de Jun. de 2018
for k = 1:63
data = thething{:,1}(:,4)
subplot(7,9,k)
stem(data)
end
these my codes. thething is 63 cells each with different numbers of cells in it. I would like to collect the forth line of data to draw 63 plot. Matlab saying there are 63 results but can not form plots. How can I do?

Respuesta aceptada

KSSV
KSSV el 27 de Jun. de 2018
for k = 1:63
data = thething{:,k}(:,4) ;
subplot(7,9,k) ;
stem(data)
end
  3 comentarios
KSSV
KSSV el 27 de Jun. de 2018
Specify dimensions of your data.....in each cell
Kuang-Yu WANG
Kuang-Yu WANG el 27 de Jun. de 2018
thanks for advice

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre 2-D and 3-D Plots en Help Center y File Exchange.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by