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 Center および File ExchangeAnnotations についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by