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

조회 수: 5 (최근 30일)
hithere
hithere 2014년 11월 3일
답변: Azzi Abdelmalek 2014년 11월 3일
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})

답변 (1개)

Azzi Abdelmalek
Azzi Abdelmalek 2014년 11월 3일
You can use a for loop

카테고리

Help CenterFile Exchange에서 Annotations에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by