How to create a function to plot cells in cell array?

4 visualizaciones (últimos 30 días)
hithere
hithere el 3 de Nov. de 2014
Respondida: Azzi Abdelmalek el 3 de Nov. de 2014
I've a cell arrays
.
.
How do i build a function to plot all the cells in g as y axis? This is my intention:
plot(x, g{1,1})
hold on
plot(x, g{1,3})
hold on
.
.
.
plot(x,g{1,n})

Respuestas (1)

Azzi Abdelmalek
Azzi Abdelmalek el 3 de Nov. de 2014
You can use a for loop

Categorías

Más información sobre Annotations en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by