Filter löschen
Filter löschen

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

1 Ansicht (letzte 30 Tage)
hithere
hithere am 3 Nov. 2014
Beantwortet: Azzi Abdelmalek am 3 Nov. 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})

Antworten (1)

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

Kategorien

Mehr zu Line Plots finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by